From: Brion Vibber Date: Thu, 23 Dec 2004 04:01:53 +0000 (+0000) Subject: fix typo X-Git-Tag: 1.5.0alpha1~1052 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=ce33214c385d11cee2135f9a8d592a93e58a9157;p=lhc%2Fweb%2Fwiklou.git fix typo --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 9c445c5395..051a28a6f7 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -399,7 +399,7 @@ function wfMsgReal( $key, $args, $useDB, $forContent=false ) { } wfSuppressWarnings(); - if( is_object( $message ) ) { + if( is_object( $lang ) ) { $message = $lang->getMessage( $key ); } else { $message = '';