From: Tim Düsterhus Date: Sat, 10 Dec 2011 12:12:33 +0000 (+0100) Subject: Examine packageID as well when checking whether the cache is loaded X-Git-Tag: 2.0.0_Beta_1~1534^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49d4e8038ad095d8eb298545bca6640fe77a3cb0;p=GitHub%2FWoltLab%2FWCF.git Examine packageID as well when checking whether the cache is loaded --- 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