summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-13 12:52:01 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-13 12:52:01 +0200
commita90c4a38cbc2af8310c171c40af0540c0f022987 (patch)
tree85437fc0caa80fa676728ba458e5089cc1279449 /lib
parentfe83470bc7dbd7bd71a3b37b7fe072b780cd1714 (diff)
downloadwebadmin-a90c4a38cbc2af8310c171c40af0540c0f022987.tar.gz
Fix lost breaks in switch()
Diffstat (limited to 'lib')
-rw-r--r--lib/Auth/LDAP.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 2773495..e4245c5 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -558,6 +558,7 @@ class LDAP extends Net_LDAP3 {
switch ($subject) {
case "domain":
$result = parent::effective_rights($this->conf->get("ldap", "domain_base_dn"));
+ break;
case "group":
case "resource":
@@ -565,6 +566,7 @@ class LDAP extends Net_LDAP3 {
case "sharedfolder":
case "user":
$result = parent::effective_rights($this->_subject_base_dn($subject));
+ break;
default:
$result = parent::effective_rights($subject);