Commit e36dcc2529ca99e661b9485ff37f8bc5864d0b5b
Exists in
master
and in
29 other branches
Merge commit 'refs/merge-requests/79' of git://gitorious.org/noosfero/noosfero i…
…nto merge-requests/79
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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 | ... | ... |