From 75f8d17b077d1de2561f9a6115f66eda1a5df6f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sun, 9 Jan 2011 10:50:42 +0000 Subject: [PATCH] The actual error is always in English, so wrap it in ltr element --- includes/db/Database.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/db/Database.php b/includes/db/Database.php index 78b23586ef..4d75379c58 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2874,6 +2874,8 @@ class DBConnectionError extends DBError { $this->error = $this->db->getProperty( 'mServer' ); } + $this->error = Html::element( 'span', array( 'dir' => 'ltr' ), $this->error ); + $noconnect = "

$sorry
$again

$info

"; $text = str_replace( '$1', $this->error, $noconnect ); -- 2.20.1