diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/pagehandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/pagehandler.php b/engine/lib/pagehandler.php index 727ace54d..0f06dcd31 100644 --- a/engine/lib/pagehandler.php +++ b/engine/lib/pagehandler.php @@ -31,7 +31,7 @@ function page_handler($handler, $page) { $result = false; } else if (isset($CONFIG->pagehandler[$handler]) && is_callable($CONFIG->pagehandler[$handler])) { $function = $CONFIG->pagehandler[$handler]; - $result = $function($page, $handler); + $result = call_user_func($function, $page, $handler); if ($result !== false) { $result = true; } |