diff --git a/Geofency/module.php b/Geofency/module.php index b6122f5..6c7981d 100644 --- a/Geofency/module.php +++ b/Geofency/module.php @@ -54,6 +54,9 @@ private function RegisterHook($Hook, $TargetID) */ public function ProcessHookData() { + //workaround for bug + if(!isset($_IPS)) + global $_IPS; if($_IPS['SENDER'] == "Execute") { echo "This script cannot be used this way."; return;