Code

Fixed mangement handling;
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Jan 2010 10:39:21 +0000 (10:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Jan 2010 10:39:21 +0000 (10:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15408 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc

index ce19004e7b12f2c6f5d80c2beb37278859d83deb..2bbaf088df97a25c99ee1cd73da92c3505044efc 100644 (file)
@@ -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: