]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add a break to switch in hasRight()
authorEvan Prodromou <evan@status.net>
Sun, 8 Nov 2009 04:15:59 +0000 (23:15 -0500)
committerEvan Prodromou <evan@status.net>
Sun, 8 Nov 2009 04:15:59 +0000 (23:15 -0500)
classes/User.php

index 546406f71e566ffbaa32e27f9cfb8d7713c19027..6162f83b882d3007c429616e49eaec2b8722928b 100644 (file)
@@ -710,6 +710,7 @@ class User extends Memcached_DataObject
                 break;
             case Right::CONFIGURESITE:
                 $result = $this->hasRole(User_role::ADMINISTRATOR);
+                break;
             default:
                 $result = false;
                 break;