git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

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

change from class call on action to obj call

darcs-hash:20080517163917-84dde-c9e0953e6074e66d427164e7cfad1ca1cf27553b.gz
parent 24ee48e6
......@@ -28,7 +28,8 @@ $actionfile = INSTALLDIR."/actions/$action.php";
if (file_exists($actionfile)) {
require_once($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