summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/User.php1
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;