typo--.
authorBenoît Pin <benoit.pin@gmail.com>
Fri, 21 Jun 2013 00:20:20 +0000 (02:20 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Fri, 21 Jun 2013 00:20:20 +0000 (02:20 +0200)
skins/custom_control/members_add_control.py

index 459a350..7216bd2 100644 (file)
@@ -23,4 +23,4 @@ else:
        if mtool.checkPermission(ManageUsers, mtool):
                return context.setStatus(True, 'Member registered.')
        else:
        if mtool.checkPermission(ManageUsers, mtool):
                return context.setStatus(True, 'Member registered.')
        else:
-               return context.setStatus(False, 'Success!')
+               return context.setStatus(True, 'Success!')