From 49d4e8038ad095d8eb298545bca6640fe77a3cb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 10 Dec 2011 13:12:33 +0100 Subject: [PATCH] Examine packageID as well when checking whether the cache is loaded --- .../files/lib/system/user/storage/UserStorageHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php b/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php index 0c141855a8..56480536fb 100644 --- a/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php @@ -42,7 +42,7 @@ class UserStorageHandler extends SingletonFactory { public function loadStorage(array $userIDs, $packageID = PACKAGE_ID) { $tmp = array(); foreach ($userIDs as $userID) { - if (!isset($this->cache[$userID])) $tmp[] = $userID; + if (!isset($this->cache[$userID][$packageID])) $tmp[] = $userID; } // ignore users whose storage data is already loaded -- 2.20.1