r22681 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22680‎ | r22681 | r22682 >
Date:17:14, 3 June 2007
Author:hashar
Status:old
Tags:
Comment:
Fix Parse error: syntax error, unexpected T_LNUMBER
Modified paths:
  • /trunk/phase3/maintenance/undelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/undelete.php
@@ -18,11 +18,11 @@
1919 if ( isset( $options['r'] ) ) {
2020 $reason = $options['r'];
2121 }
22 -$pageName = $args[0];
 22+$pageName = @$args[0];
2323 $title = Title::newFromText( $pageName );
2424 if ( !$title ) {
2525 echo $usage;
26 - exit 1;
 26+ exit( 1 );
2727 }
2828 $wgUser = User::newFromName( $user );
2929 $archive = new PageArchive( $title );

Follow-up revisions

RevisionCommit summaryAuthorDate
r22717Merged revisions 22667-22715 via svnmerge from...david20:00, 4 June 2007

Status & tagging log