• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

PukiWiki


Commit MetaInfo

Revision88fb8d60d0b5914fc8ba2c26a4d71b9cfd5ee77f (tree)
Time2014-06-02 06:08:37
Authorhenoheno <henoheno>
Commiterumorigu

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)

Change Summary

Incremental Difference

--- a/plugin/ls2.inc.php
+++ b/plugin/ls2.inc.php
@@ -70,7 +70,8 @@ function plugin_ls2_convert()
7070 }
7171 if ($prefix == '') $prefix = strip_bracket($vars['page']) . '/';
7272
73- array_walk($args, 'plugin_ls2_check_arg', & $params);
73+ foreach ($args as $key => $arg)
74+ plugin_ls2_check_arg($arg, $key, $params);
7475
7576 $title = (! empty($params['_args'])) ? join(',', $params['_args']) : // Manual
7677 str_replace('$1', htmlsc($prefix), $_ls2_msg_title); // Auto