From fcaf3f39415de902cefffc493d343744189dbbd7 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 15 Mar 2012 04:34:22 +0000 Subject: [PATCH] Fixed 'Illegal string offset 'LIMIT' in C:\wamp\www\MediaWiki\includes\db\Database.php on line 1462' --- includes/specials/SpecialUndelete.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.20.1