OSDN Git Service

FIX: PHP5/MySQL5における文法違反コードの修正
[nucleus-jp/nucleus-jp-ancient.git] / nucleus / libs / PARSER.php
index a964ce0..b4526de 100755 (executable)
@@ -111,7 +111,7 @@ class PARSER {
                        // when using PHP versions lower than 4.0.5, uncomment the line before\r
                        // and comment the call_user_func_array call\r
                        //$this->call_using_array($action, $this->handler, $params);\r
-                       call_user_func_array(array(&$this->handler,'parse_' . $actionlc), $params);\r
+                       call_user_func_array(array($this->handler, 'parse_' . $actionlc), $params);\r
                } else {\r
                        // redirect to plugin action if possible\r
                        if (in_array('plugin', $this->actions) && $manager->pluginInstalled('NP_' . $action)) {\r
@@ -138,7 +138,7 @@ class PARSER {
                        return;\r
                }\r
 \r
-               $command = 'call_user_func(array(&$handler,$methodname)';\r
+               $command = 'call_user_func(array($handler,$methodname)';\r
                for ($i = 0; $i<count($paramarray); $i++)\r
                        $command .= ',$paramarray[' . $i . ']';\r
                $command .= ');';\r