From b8ab1e25ca1cb65fcdf928931d7884d81e2ae43e Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 4 Aug 2010 21:47:09 +0000 Subject: [PATCH] "$something ? false : true" is silly. Note: not actually tested, but it's really hard to see how it will fail . . . really! --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index f8398ee29e..81705d36d6 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -572,7 +572,7 @@ function wfGetLangObj( $langcode = false ) { */ function wfUILang() { global $wgBetterDirectionality; - return wfGetLangObj( $wgBetterDirectionality ? false: true ); + return wfGetLangObj( !$wgBetterDirectionality ); } /** -- 2.20.1