修訂 | 88fb8d60d0b5914fc8ba2c26a4d71b9cfd5ee77f (tree) |
---|---|
時間 | 2014-06-02 06:08:37 |
作者 | henoheno <henoheno> |
Commiter | umorigu |
BugTrack2/182: With php.ini: allow_call_time_pass_reference = Off
@@ -70,7 +70,8 @@ function plugin_ls2_convert() | ||
70 | 70 | } |
71 | 71 | if ($prefix == '') $prefix = strip_bracket($vars['page']) . '/'; |
72 | 72 | |
73 | - array_walk($args, 'plugin_ls2_check_arg', & $params); | |
73 | + foreach ($args as $key => $arg) | |
74 | + plugin_ls2_check_arg($arg, $key, $params); | |
74 | 75 | |
75 | 76 | $title = (! empty($params['_args'])) ? join(',', $params['_args']) : // Manual |
76 | 77 | str_replace('$1', htmlsc($prefix), $_ls2_msg_title); // Auto |