diff --git a/e107_handlers/notify_class.php b/e107_handlers/notify_class.php index 56e269506..1fbe517d6 100644 --- a/e107_handlers/notify_class.php +++ b/e107_handlers/notify_class.php @@ -33,11 +33,11 @@ class notify { if ($status['class'] != 255) { - if($status['include']) // Plugin + if(varset($status['include'])) // Plugin { $include = e_PLUGIN.$status['include']."/e_notify.php"; - if($status['legacy'] != 1) + if(varset($status['legacy']) != 1) { $class = $status['include']."_notify"; $method = $id;