From 9d5a263fde69827b725007224e56c27368cdf8dd Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Aug 2008 12:36:17 +0000 Subject: [PATCH] Updated sudo checks -Allow 0 as object name. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12210 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); } -- 2.30.2