if ever some event returned false value, will call display event in order to show the error message etc.
|| ($event_node['node_permission']=='master')
|| ($event=='display')
) {
- include_once(INCLUDE_DIR."eventz/$event.inc");
+ require_once(INCLUDE_DIR."eventz/$event.inc");
$status=$event();
$_SESSION['eventz'][$event]=true;
$status=false;
}
+if (!$status) {
+ require_once(INCLUDE_DIR."eventz/display.inc");
+ display();
+}
-if ($status>1) {
+elseif ($status>1) {
Header("Location: /id/".$status."/");
}
elseif ($status) {
Header("Location: /id/".$node['node_id']."/");
-}
+}
?>