From e2e707595f02b7afa13c16dbaef29f3c91e1190c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 10 Dec 2011 13:07:49 +0100 Subject: [PATCH] Fixing UserStorageHandler $packageID was not correctly passed. --- .../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 feafa11beb..0c141855a8 100644 --- a/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php @@ -50,7 +50,7 @@ class UserStorageHandler extends SingletonFactory { $conditions = new PreparedStatementConditionBuilder(); $conditions->add("userID IN (?)", array($tmp)); - $conditions->add("packageID = ?", array(PACKAGE_ID)); + $conditions->add("packageID = ?", array($packageID)); $sql = "SELECT * FROM wcf".WCF_N."_user_storage -- 2.20.1