Skip to content

Commit 97d5a4e

Browse files
committed
Run functions based on call_user_function_array
1 parent d3e4b81 commit 97d5a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function init() {
3030
if ($route) {
3131
$callback = $route->getTarget();
3232
$params = $route->getParameters();
33-
$callback($params);
33+
call_user_func_array($callback, $params);
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)