index bb4863c3e30f7ff4c1102434a4b2d13a1c1013d1..f2d01c51bd79a09346dc5c0193146dad032ae7da 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
/* 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)){