X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FGlobalFunctions.php;h=bd989328f4e3a9c304e7619ac65ab571837c4cc5;hb=4e9741a71a96bcbe3ed9ce249bb4b43b3950c910;hp=a74060c7154e2bf19dd055643b3209a12b088ae7;hpb=893b698e3a03052af49779cc661b297cf27fd6e3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index a74060c715..bd989328f4 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3123,7 +3123,7 @@ function wfIsBadImage( $name, $contextTitle = false, $blacklist = null ) { function wfCanIPUseHTTPS( $ip ) { $canDo = true; Hooks::run( 'CanIPUseHTTPS', [ $ip, &$canDo ] ); - return !!$canDo; + return (bool)$canDo; } /**