Check for null before calling a textResults method to (fixes T165091)
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index c7f132a..d21cc1d 100644 (file)
@@ -1436,7 +1436,6 @@ function wfMsgReplaceArgs( $message, $args ) {
 function wfHostname() {
        static $host;
        if ( is_null( $host ) ) {
-
                # Hostname overriding
                global $wgOverrideHostname;
                if ( $wgOverrideHostname !== false ) {