X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FWikiReference.php;h=d3688c8276e2e099c6a10f6a68c1c9402f118e0f;hp=724ba980a345acd832b39d0f62cb66e7dce654ec;hb=9c7f6734c397a954b8eaa5ec73876f2b4bf92afb;hpb=81d2745d32c0f9975d47cc5b21029880aea2ea9f diff --git a/includes/WikiReference.php b/includes/WikiReference.php index 724ba980a3..d3688c8276 100644 --- a/includes/WikiReference.php +++ b/includes/WikiReference.php @@ -36,7 +36,7 @@ class WikiReference { public function __construct( $canonicalServer, $path, $server = null ) { $this->mCanonicalServer = $canonicalServer; $this->mPath = $path; - $this->mServer = $server === null ? $canonicalServer : $server; + $this->mServer = $server ?? $canonicalServer; } /**