修訂 | 70a7d4cf1d3b69e216b85e8e1f88916e84874987 (tree) |
---|---|
時間 | 2006-08-06 22:17:31 |
作者 | henoheno <henoheno> |
Commiter | henoheno |
BugTrack2/182: With php.ini: allow_call_time_pass_reference = Off
@@ -1,7 +1,7 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | 3 | // |
4 | -// $Id: ls2.inc.php,v 1.23 2004/12/05 11:37:37 henoheno Exp $ | |
4 | +// $Id: ls2.inc.php,v 1.24 2006/08/06 13:17:31 henoheno Exp $ | |
5 | 5 | // |
6 | 6 | // List plugin 2 |
7 | 7 |
@@ -66,7 +66,8 @@ function plugin_ls2_convert() | ||
66 | 66 | } |
67 | 67 | if ($prefix == '') $prefix = strip_bracket($vars['page']) . '/'; |
68 | 68 | |
69 | - array_walk($args, 'plugin_ls2_check_arg', & $params); | |
69 | + foreach ($args as $key => $arg) | |
70 | + plugin_ls2_check_arg($arg, $key, $params); | |
70 | 71 | |
71 | 72 | $title = (! empty($params['_args'])) ? join(',', $params['_args']) : // Manual |
72 | 73 | str_replace('$1', htmlspecialchars($prefix), $_ls2_msg_title); // Auto |