index bb4863c3e30f7ff4c1102434a4b2d13a1c1013d1..4440ab7626ead2106a0fb992fa7ef64960921db9 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)){
}
- function plInfo()
+ static function plInfo()
{
return array();
}