From: Roan Kattouw Date: Sat, 19 Feb 2011 16:48:05 +0000 (+0000) Subject: Fix logic error in r73204 (!) causing ResourceLoaderContext::getHash() to always... X-Git-Tag: 1.31.0-rc.0~31892 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=4d196860f75c562ca1c3612e03b7a0f8a70d9ffb;p=lhc%2Fweb%2Fwiklou.git Fix logic error in r73204 (!) causing ResourceLoaderContext::getHash() to always return null --- diff --git a/includes/resourceloader/ResourceLoaderContext.php b/includes/resourceloader/ResourceLoaderContext.php index 808ec505f8..b40c3a9e76 100644 --- a/includes/resourceloader/ResourceLoaderContext.php +++ b/includes/resourceloader/ResourceLoaderContext.php @@ -131,7 +131,7 @@ class ResourceLoaderContext { } public function getHash() { - if ( isset( $this->hash ) ) { + if ( !isset( $this->hash ) ) { $this->hash = implode( '|', array( $this->getLanguage(), $this->getDirection(), $this->skin, $this->user, $this->debug, $this->only, $this->version