From 9caeb409c181c00b315bef28de0db206d83bb847 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 2 Feb 2010 07:01:48 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_management.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)){ -- 2.30.2