X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FHttpStatus.php;h=7e652162b240a00ecfab8794e8af85a3e9c14faa;hb=641c6d1f15f866770d44b67c1efc5f9fc0763d9e;hp=27f872857c0d4bf0c21f0cef934f987d7de9c100;hpb=cf35ff756c89ca6d6e003b440076df5ebe7ccef7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/HttpStatus.php b/includes/libs/HttpStatus.php index 27f872857c..7e652162b2 100644 --- a/includes/libs/HttpStatus.php +++ b/includes/libs/HttpStatus.php @@ -98,7 +98,7 @@ class HttpStatus { $message = self::getMessage( $code ); if ( $message === null ) { trigger_error( "Unknown HTTP status code $code", E_USER_WARNING ); - return false; + return; } MediaWiki\HeaderCallback::warnIfHeadersSent();