Code

Fixed problems with browser reload (F5) and Snapshot creation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Feb 2010 07:01:48 +0000 (07:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Feb 2010 07:01:48 +0000 (07:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15565 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_management.inc

index 75e550e5d038e00f0fb10d8de33eafbad9e83592..d418c31f1072767f5ec9eeebca37119e465c7091 100644 (file)
@@ -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)){