add a break to switch in hasRight()

This commit is contained in:
Evan Prodromou 2009-11-07 23:15:59 -05:00
parent 9d026600a9
commit 144f817109

View 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;