From: hickert Date: Tue, 2 Feb 2010 07:01:48 +0000 (+0000) Subject: Fixed problems with browser reload (F5) and Snapshot creation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9caeb409c181c00b315bef28de0db206d83bb847;p=gosa.git Fixed problems with browser reload (F5) and Snapshot creation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15565 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_management.inc b/gosa-core/include/class_management.inc index 75e550e5d..d418c31f1 100644 --- a/gosa-core/include/class_management.inc +++ b/gosa-core/include/class_management.inc @@ -439,7 +439,8 @@ class management * @param Array 'all' A combination of both 'action' and 'target'. */ function saveSnapshot($action="",$target=array(),$all=array()) - { + { + if(!is_object($this->dialogObject)) return; $this->dialogObject->save_object(); $msgs = $this->dialogObject->check(); if(count($msgs)){