diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc
index d66d04314d19bd46d6f429bb51e316fccfb5c89e..4020c6b1a04479b59e130a69fef1a6be6b3a1ff9 100644 (file)
if (isset($_POST['edit_finish'])){
/* Check tabs, will feed message array */
- $message= $this->systab->check(TRUE);
+ $message= $this->systab->check();
/* Save, or display error message? */
if (count($message) == 0){
/* Cancel dialogs */
if (isset($_POST['edit_cancel']) || isset($_POST['password_cancel'])){
- del_lock ($this->systab->dn);
- unset ($this->systab);
+ if (isset($this->systab)){
+ del_lock ($this->systab->dn);
+ unset ($this->systab);
+ }
$this->systab= NULL;
unset($_SESSION['objectinfo']);
}