Issue:Call-time pass-by-reference dpl 1.7.9 mw 1.13

From FollowTheScore
Revision as of 18:07, 20 May 2009 by Jlbuser (talk | contribs)
Jump to: navigation, search
Description: PHP Warning: Call-time pass-by-reference has been deprecated in C:\inetpub\wwwroot\mediawiki\extensions\DynamicPageList\DynamicPageList2.php on line 3882
Extension / Version: DPL   /   1.7.9
Type / Status: Bug   /   open/answered (self)

Problem

PHP Warning: Call-time pass-by-reference has been deprecated in C:\inetpub\wwwroot\mediawiki\extensions\DynamicPageList\DynamicPageList2.php on line 3882

Fresh install of dpl, getting this error. any help is appreciated!

Reply

ok i looked through the code and it appears this was introduced by accident in rev 50814 of dynamicpagelist2.php

change line 3882 from:
$this->formatSingleItems(&$pieces, 0);

to:

$this->formatSingleItems($pieces, 0);