r53576 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53575‎ | r53576 | r53577 >
Date:00:17, 21 July 2009
Author:nad
Status:deferred
Tags:
Comment:
rm debugging
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -475,7 +475,6 @@
476476 $html = preg_replace( "|(<option[^<>]*) selected|", "$1", $html ); # remove the currently selected option
477477 if ( $v ) {
478478 foreach( split( "\n", $v ) as $v ) {
479 - print $v;
480479 $html = preg_match( "|<option[^>]+value\s*=|s", $html )
481480 ? preg_replace( "|(<option)([^>]+value\s*=\s*[\"']{$v}['\"])|s", "$1 selected$2", $html )
482481 : preg_replace( "|(<option[^>]*)(?=>$v</option>)|s", "$1 selected", $html );

Status & tagging log