From: hickert Date: Wed, 1 Mar 2006 05:49:07 +0000 (+0000) Subject: Fixed reload errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4eadc900aeeb66276c4c81fca9fc9e6d35947e80;p=gosa.git Fixed reload errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2786 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/macro/class_gofonMacroManagement.inc b/plugins/gofon/macro/class_gofonMacroManagement.inc index 8a9877276..aab916c22 100755 --- a/plugins/gofon/macro/class_gofonMacroManagement.inc +++ b/plugins/gofon/macro/class_gofonMacroManagement.inc @@ -170,7 +170,7 @@ class gofonMacro extends plugin /* Finish mac edit is triggered by the tabulator dialog, so the user wants to save edited data. Check and save at this point. */ - if (isset($_POST['edit_finish'])){ + if ((isset($_POST['edit_finish'])) && (isset($this->macrotabs->config))){ /* Check tabs, will feed message array */ $this->macrotabs->last= $this->macrotabs->current; @@ -204,7 +204,7 @@ class gofonMacro extends plugin } /* User wants to edit data? */ - if ($s_action=="edit"){ + if (($s_action=="edit") && (!isset($this->macrotabs->config))){ /* Get 'dn' from posted 'macrolists', must be unique */ $this->dn= $this->macros[$s_entry]['dn']; @@ -291,7 +291,7 @@ class gofonMacro extends plugin } /* Show tab dialog if object is present */ - if ($this->macrotabs){ + if (($this->macrotabs) && (isset($this->macrotabs->config))){ $display= $this->macrotabs->execute(); /* Don't show buttons if tab dialog requests this */