Difference between revisions of "Issue:Call-time pass-by-reference dpl 1.7.9 mw 1.13"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.7.9 |Description = PHP Warning: Call-time pass-by-reference has been deprecated in C:\inetpub\wwwroot\mediawiki\extensi...)
 
(Reply)
Line 13: Line 13:
  
 
== Reply ==
 
== Reply ==
 +
ok i looked through the code and it appears this was introduced by accident in rev 50814 of dynamicpagelist2.php
 +
 +
<code>
 +
change line 3882 from:<br/>
 +
$this->formatSingleItems(&$pieces, 0);
 +
 +
to:
 +
 +
$this->formatSingleItems($pieces, 0);
 +
</code>

Revision as of 19:06, 20 May 2009

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

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);