On the brink of a federal shutdown, the House passes a 45-day funding plan and sends it to Senate