From: hickert Date: Wed, 13 Aug 2008 12:36:17 +0000 (+0000) Subject: Updated sudo checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9d5a263fde69827b725007224e56c27368cdf8dd;p=gosa.git Updated sudo checks -Allow 0 as object name. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12210 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc index f102fb44f..1f5f1413e 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc @@ -561,7 +561,7 @@ class sudo extends plugin $message = plugin::check(); /* Is a name given? */ - if(empty($this->cn)){ + if($this->cn == ""){ $message[] = msgPool::required(_("Name")); }