From 6b07d56627408b744ef13dda0859a0b47aaf895a Mon Sep 17 00:00:00 2001 From: slawkens Date: Mon, 15 Feb 2021 21:05:08 +0100 Subject: [PATCH] Fix setPremDays for latest TFS Fixes editing account in admin panel --- system/libs/pot/OTS_Account.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/libs/pot/OTS_Account.php b/system/libs/pot/OTS_Account.php index 07d82f68..a1bf1575 100644 --- a/system/libs/pot/OTS_Account.php +++ b/system/libs/pot/OTS_Account.php @@ -433,6 +433,7 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable { $this->data['premdays'] = (int) $premdays; $this->data['premend'] = time() + ($premdays * 24 * 60 * 60); + $this->data['premium_ends_at'] = time() + ($premdays * 24 * 60 * 60); } public function setRLName($name)