r113892 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113891‎ | r113892 | r113893 >
Date:04:34, 15 March 2012
Author:aaron
Status:ok
Tags:
Comment:
Fixed 'Illegal string offset 'LIMIT' in <b>C:\wamp\www\MediaWiki\includes\db\Database.php</b> on line <b>1462</b>'
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUndelete.php
@@ -405,13 +405,12 @@
406406 $article->loadPageData( 'fromdbmaster' );
407407 $oldcountable = $article->isCountable();
408408
409 - $options = 'FOR UPDATE'; // lock page
410409 $page = $dbw->selectRow( 'page',
411410 array( 'page_id', 'page_latest' ),
412411 array( 'page_namespace' => $this->title->getNamespace(),
413412 'page_title' => $this->title->getDBkey() ),
414413 __METHOD__,
415 - $options
 414+ array( 'FOR UPDATE' ) // lock page
416415 );
417416 if( $page ) {
418417 $makepage = false;

Follow-up revisions

RevisionCommit summaryAuthorDate
r113936MFT r113268, r113892reedy17:35, 15 March 2012
r114015MFT r112918, r113214, r113268, r113277, r113312, r113415, r113454, r113737, r...reedy15:18, 16 March 2012

Status & tagging log