From: Aaron Schulz Date: Thu, 15 Mar 2012 04:34:22 +0000 (+0000) Subject: Fixed 'Illegal string offset 'LIMIT' in C:\wamp\www\MediaWiki\includes\db\Database... X-Git-Tag: 1.31.0-rc.0~24244 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=fcaf3f39415de902cefffc493d343744189dbbd7;p=lhc%2Fweb%2Fwiklou.git Fixed 'Illegal string offset 'LIMIT' in C:\wamp\www\MediaWiki\includes\db\Database.php on line 1462' --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index b0df3c9d9b..34be6b0369 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -405,13 +405,12 @@ class PageArchive { $article->loadPageData( 'fromdbmaster' ); $oldcountable = $article->isCountable(); - $options = 'FOR UPDATE'; // lock page $page = $dbw->selectRow( 'page', array( 'page_id', 'page_latest' ), array( 'page_namespace' => $this->title->getNamespace(), 'page_title' => $this->title->getDBkey() ), __METHOD__, - $options + array( 'FOR UPDATE' ) // lock page ); if( $page ) { $makepage = false;