r48557 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48556‎ | r48557 | r48558 >
Date:00:23, 19 March 2009
Author:nad
Status:deferred
Tags:
Comment:
oops remove debugging output
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -416,7 +416,7 @@
417417 case 'list':
418418 $html = preg_replace_callback("|\{\{.+\}\}|s", array($this, 'parsePart'), $html); # parse any braces
419419 $html = preg_replace( "|(<option[^<>]*) selected|", "$1", $html ); # remove the currently selected option
420 - if ( $v ) { print "\"$v\"";
 420+ if ( $v ) {
421421 $html = preg_match( "|<option[^>]+value\s*=|s", $html )
422422 ? preg_replace( "|(<option)([^>]+value\s*=\s*[\"']{$v}['\"])|s", "$1 selected$2", $html )
423423 : preg_replace( "|(<option[^>]*)(?=>$v</option>)|s", "$1 selected", $html );

Status & tagging log