diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -52,8 +52,9 @@ if (file_exists($actionfile)) { } $config['db']['database'] = $mirror; } - call_user_func(array($action_obj, 'init'), $_REQUEST); - call_user_func(array($action_obj, 'handle'), $_REQUEST); + if (call_user_func(array($action_obj, 'init'), $_REQUEST)) { + call_user_func(array($action_obj, 'handle'), $_REQUEST); + } } else { common_user_error(_('Unknown action')); }
\ No newline at end of file |