Refer to the way php checks for truthyness, if you change Input::has('price_from') to Input::get('price_from') then an empty string will evaluate to false
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community