Commit MetaInfo

Revision70a7d4cf1d3b69e216b85e8e1f88916e84874987 (tree)
Zeit2006-08-06 22:17:31
Autorhenoheno <henoheno>
Commiterhenoheno

Log Message

BugTrack2/182: With php.ini: allow_call_time_pass_reference = Off

'Warning: Call-time pass-by-reference has been deprecated'
with array_walk (Patched by Ratbeta)

Ändern Zusammenfassung

Diff

--- a/plugin/ls2.inc.php
+++ b/plugin/ls2.inc.php
@@ -1,7 +1,7 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
33 //
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 $
55 //
66 // List plugin 2
77
@@ -66,7 +66,8 @@ function plugin_ls2_convert()
6666 }
6767 if ($prefix == '') $prefix = strip_bracket($vars['page']) . '/';
6868
69- array_walk($args, 'plugin_ls2_check_arg', & $params);
69+ foreach ($args as $key => $arg)
70+ plugin_ls2_check_arg($arg, $key, $params);
7071
7172 $title = (! empty($params['_args'])) ? join(',', $params['_args']) : // Manual
7273 str_replace('$1', htmlspecialchars($prefix), $_ls2_msg_title); // Auto
Show on old repository browser