From 9f0ce227612b98501a18189ddfa9db98de29a22b Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 1 Feb 2010 14:18:53 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/admin/users/class_userManagement.inc | 1 + 1 file changed, 1 insertion(+) 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{ -- 2.30.2