From f429e5b807cee3a13041c5d574e540e5b9740b06 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 28 Jan 2010 10:39:21 +0000 Subject: [PATCH] Fixed mangement handling; git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15408 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc index ce19004e7..2bbaf088d 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc @@ -66,13 +66,13 @@ class sudoManagement extends management function newEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="") { - management::newEntry($action,$target,$all,$altTabClass,$altTabType,$altAclCategory); + $str = management::newEntry($action,$target,$all,$altTabClass,$altTabType,$altAclCategory); /* This entry will become the default entry */ if($action == "new_default"){ $this->tabObject->set_default(TRUE); } - + if(!empty($str)) return($str); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2