We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 80ee6ee1 authored by Evan Prodromou's avatar Evan Prodromou

change from class call on action to obj call

parent 24ee48e6
......@@ -28,7 +28,8 @@ $actionfile = INSTALLDIR."/actions/$action.php";
if (file_exists($actionfile)) {
$action_class = ucfirst($action)."Action";
call_user_func(array($action_class, 'handle'), $_REQUEST);
$action_obj = new $action_class();
call_user_func(array($action_obj, 'handle'), $_REQUEST);
} else {
common_user_error(_t('Unknown action'));
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment