]> git.openstreetmap.org Git - osqa.git/commitdiff
Bronze awards updating silver badge count.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 19 May 2010 18:41:19 +0000 (18:41 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 19 May 2010 18:41:19 +0000 (18:41 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@305 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/actions/user.py

index 19dfa5efb0b25d9a070edc8e05d27aee0e432802..6170a17904df06745b08582ca3df0a9f686a0c48 100644 (file)
@@ -64,7 +64,7 @@ class AwardAction(ActionProxy):
         if award.badge.type == Badge.SILVER:
             self.user.silver += 1
         if award.badge.type == Badge.BRONZE:
-            self.user.silver += 1
+            self.user.bronze += 1
 
         self.user.save()