http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65012
Revision: 65012 Author: vasilievvv Date: 2010-04-14 08:08:41 +0000 (Wed, 14 Apr 2010) Log Message: ----------- Fix PHP warnings. Modified Paths: -------------- trunk/extensions/InlineScripts/interpreter/Data.php Modified: trunk/extensions/InlineScripts/interpreter/Data.php =================================================================== --- trunk/extensions/InlineScripts/interpreter/Data.php 2010-04-14 05:57:56 UTC (rev 65011) +++ trunk/extensions/InlineScripts/interpreter/Data.php 2010-04-14 08:08:41 UTC (rev 65012) @@ -208,7 +208,7 @@ if( $this->type == self::DNull && $indices[0] === null ) { $this->type = self::DList; $this->value = array(); - $this->setValueByIndices( $val, $indices ); + $this->setValueByIndices( $val, $indices, $line ); } elseif( $this->type == self::DList ) { if( $indices[0] === null ) { $this->data[] = $val; @@ -217,7 +217,7 @@ if( $idx < 0 || $idx >= count( $this->data ) ) throw new ISUserVisibleException( 'outofbounds', $line, array( count( $this->data ), $idx ) ); if( count( $indices ) > 1 ) - $this->data[$idx]->setValueByIndices( $val, array_slice( $indices, 1 ) ); + $this->data[$idx]->setValueByIndices( $val, array_slice( $indices, 1 ), $line ); else $this->data[$idx] = $val; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs