From: Niklas Laxström Date: Sun, 9 Jan 2011 10:50:42 +0000 (+0000) Subject: The actual error is always in English, so wrap it in ltr element X-Git-Tag: 1.31.0-rc.0~32681 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=75f8d17b077d1de2561f9a6115f66eda1a5df6f3;p=lhc%2Fweb%2Fwiklou.git The actual error is always in English, so wrap it in ltr element --- 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 );