From 588cc40aeec0165400421ef9612e81b6d2c7b936 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 13 Jun 2012 23:40:19 +0200 Subject: Update to MediaWiki 1.19.1 --- includes/db/Database.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/db') diff --git a/includes/db/Database.php b/includes/db/Database.php index 9f34f812..9d517e4a 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1440,6 +1440,7 @@ abstract class DatabaseBase implements DatabaseType { function selectRow( $table, $vars, $conds, $fname = 'DatabaseBase::selectRow', $options = array(), $join_conds = array() ) { + $options = (array)$options; $options['LIMIT'] = 1; $res = $this->select( $table, $vars, $conds, $fname, $options, $join_conds ); -- cgit v1.2.2