From 4d196860f75c562ca1c3612e03b7a0f8a70d9ffb Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 19 Feb 2011 16:48:05 +0000 Subject: [PATCH] Fix logic error in r73204 (!) causing ResourceLoaderContext::getHash() to always return null --- includes/resourceloader/ResourceLoaderContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1