mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
event handler issues
This commit is contained in:
@@ -97,10 +97,11 @@ class e107_event
|
|||||||
//TODO log errors $eventname, $location, $class, $method
|
//TODO log errors $eventname, $location, $class, $method
|
||||||
// echo "event didn't work. Class=".$class." Method=".$method;
|
// echo "event didn't work. Class=".$class." Method=".$method;
|
||||||
// echo "<br />".$e;
|
// echo "<br />".$e;
|
||||||
exit;
|
//exit;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (function_exists($evt_func))
|
elseif (function_exists($evt_func))
|
||||||
{
|
{
|
||||||
$ret = $evt_func($data, $eventname); //let callback know what event is calling it
|
$ret = $evt_func($data, $eventname); //let callback know what event is calling it
|
||||||
if (!empty($ret))
|
if (!empty($ret))
|
||||||
|
Reference in New Issue
Block a user