From: Tim Düsterhus Date: Sat, 10 Dec 2011 12:07:49 +0000 (+0100) Subject: Fixing UserStorageHandler X-Git-Tag: 2.0.0_Beta_1~1534^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2e707595f02b7afa13c16dbaef29f3c91e1190c;p=GitHub%2FWoltLab%2FWCF.git Fixing UserStorageHandler $packageID was not correctly passed. --- 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