From: Evan Prodromou Date: Sun, 8 Nov 2009 04:15:59 +0000 (-0500) Subject: add a break to switch in hasRight() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=144f8171099aa6d1f3807554443573195c26f986;p=quix0rs-gnu-social.git add a break to switch in hasRight() --- diff --git a/classes/User.php b/classes/User.php index 546406f71e..6162f83b88 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;