From: hickert Date: Mon, 1 Feb 2010 14:18:53 +0000 (+0000) Subject: Do not handle lock/unlock actions until a user is selected X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f0ce227612b98501a18189ddfa9db98de29a22b;p=gosa.git Do not handle lock/unlock actions until a user is selected git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15557 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 729a273d8..99fb42745 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -589,6 +589,7 @@ class userManagement extends management */ function lockUsers($action,$target,$all) { + if(!count($target)) return; if($action == "lockUsers"){ $this->lockEntry($action,$target, $all, "lock"); }else{