diff options
author | Evan Prodromou <evan@status.net> | 2009-11-07 23:15:59 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-07 23:15:59 -0500 |
commit | 144f8171099aa6d1f3807554443573195c26f986 (patch) | |
tree | f2281953ee78c19fc3740da262067428d0b4704d | |
parent | 9d026600a9525ab78a6031b2acbfd388cbde48ff (diff) |
add a break to switch in hasRight()
-rw-r--r-- | classes/User.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php index 546406f71..6162f83b8 100644 --- a/classes/User.php +++ b/classes/User.php @@ -710,6 +710,7 @@ class User extends Memcached_DataObject break; case Right::CONFIGURESITE: $result = $this->hasRole(User_role::ADMINISTRATOR); + break; default: $result = false; break; |