Commit 08cc1fd62e0eda8138ca231bade21450a375b1e9

Authored by Joenio Costa
1 parent cb340c2b

Equal comparison operator to postgresql is '=' not '=='

(ActionItem2200)
plugins/shopping_cart/controllers/shopping_cart_plugin_myprofile_controller.rb
... ... @@ -24,7 +24,7 @@ class ShoppingCartPluginMyprofileController < MyProfileController
24 24 condition = 'created_at >= ? AND created_at <= ?'
25 25 condition_parameters = [@from, @to+1.day]
26 26 if @status
27   - condition += ' AND status == ?'
  27 + condition += ' AND status = ?'
28 28 condition_parameters << @status
29 29 end
30 30  
... ...