From: Tim Starling Date: Fri, 21 Nov 2003 04:57:32 +0000 (+0000) Subject: Fixed wfMsg bug -- problems with "loading" message X-Git-Tag: 1.1.0~119 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=35cecc8014742f7d13eaf649b518fbf7131c1a53;p=lhc%2Fweb%2Fwiklou.git Fixed wfMsg bug -- problems with "loading" message --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 390db76fa3..40effcc321 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -223,7 +223,9 @@ function wfMsgReal( $key, $args, $useDB ) { } if ( is_array( $messageCache ) && array_key_exists( $title, $messageCache ) ) { $message = $messageCache[$title]; - } + } elseif ( $messageCache == "loading" ) { + $messageCache = false; + } } # If there was no MemCached, load each message from the DB individually