Fixed wrong table index name in PaidSubscriptionUser
authorMarcel Werk <burntime@woltlab.com>
Sun, 18 Dec 2016 19:01:03 +0000 (20:01 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 18 Dec 2016 19:01:03 +0000 (20:01 +0100)
wcfsetup/install/files/lib/data/paid/subscription/user/PaidSubscriptionUser.class.php

index c0a21ccbe9d81648c815116a2aea983ff1a6334f..29b49b5d8e952878fb6365f8e65e740a4522d3fe 100644 (file)
@@ -20,6 +20,11 @@ use wcf\system\WCF;
  * @property-read      integer         $isActive               is `1` if the user's paid subscription is currently active and thus not expired, otherwise `0`
  */
 class PaidSubscriptionUser extends DatabaseObject {
+       /**
+        * @inheritDoc
+        */
+       protected static $databaseTableIndexName = 'subscriptionUserID';
+       
        /**
         * paid subscription object
         * @var PaidSubscription