summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8a203c)
raw | patch | inline | side by side (parent: b8a203c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Apr 2008 06:28:52 +0000 (06:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Apr 2008 06:28:52 +0000 (06:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10184 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/sudo/class_sudoOptions.inc | patch | blob | history | |
gosa-core/plugins/admin/sudo/tabs_sudo.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/sudo/class_sudoOptions.inc b/gosa-core/plugins/admin/sudo/class_sudoOptions.inc
index 43a39b140b8c1e81e54fdb36602168628bafca71..7cb9fbebbae6d26933b347760961e0977c6167a9 100644 (file)
}else{
$this->sudoOption[$opt] = $option;
}
- }
-
- if(isset($this->options[$opt]) && isset($this->sudoOption[$opt]) && $this->options[$opt]['TYPE'] == "LISTS"){
+ }elseif(isset($this->options[$opt]) && isset($this->sudoOption[$opt]) && $this->options[$opt]['TYPE'] == "LISTS"){
$type = $this->options[$opt]['TYPE'];
$val = array($this->options[$opt]['DEFAULT']);
$option = array("NAME" => $opt, "VALUE" => $val , "NEGATE" => FALSE);
diff --git a/gosa-core/plugins/admin/sudo/tabs_sudo.inc b/gosa-core/plugins/admin/sudo/tabs_sudo.inc
index a1265c4911525796eb1dfff331d8f541887e0983..0e0c1267c6e8a7e16497419ad3bacc44b3e80d15 100644 (file)
$this->addSpecialTabs();
}
- function save_object($save_current= FALSE)
- {
- tabs::save_object($save_current);
- }
-
function save($ignore_account= FALSE)
{
$baseobject= $this->by_object['sudo'];