X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_plugin.inc;h=f2d01c51bd79a09346dc5c0193146dad032ae7da;hb=6c6148c73fa05be5904cb13385ed133bc615fdca;hp=bb4863c3e30f7ff4c1102434a4b2d13a1c1013d1;hpb=7611ea4d178faa38d14658a83f8416fe9b21fa6c;p=gosa.git diff --git a/include/class_plugin.inc b/include/class_plugin.inc index bb4863c3e..f2d01c51b 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -1406,7 +1406,7 @@ class plugin /* Create a new snapshot requested, check the given attributes and create the snapshot*/ - if(isset($_POST['CreateSnapshot'])){ + if(isset($_POST['CreateSnapshot']) && is_object($this->snapDialog)){ $this->snapDialog->save_object(); $msgs = $this->snapDialog->check(); if(count($msgs)){