The bill still must get through the House and be signed by the governor to become law.