From ce33214c385d11cee2135f9a8d592a93e58a9157 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 23 Dec 2004 04:01:53 +0000 Subject: [PATCH] fix typo --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''; -- 2.20.1