diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-17 12:39:17 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-17 12:39:17 -0400 |
commit | 80ee6ee1d2f8c0b6f91859f48c2acb984ea0429c (patch) | |
tree | fc57f2af329a0e2cfd6f8355fcefde13ad425122 /index.php | |
parent | 24ee48e6d58db92a23e24e87b1b53f012e456cfa (diff) |
change from class call on action to obj call
darcs-hash:20080517163917-84dde-c9e0953e6074e66d427164e7cfad1ca1cf27553b.gz
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |