diff --git a/system/libs/pot/OTS_Account.php b/system/libs/pot/OTS_Account.php index 6236030b..1daa642b 100644 --- a/system/libs/pot/OTS_Account.php +++ b/system/libs/pot/OTS_Account.php @@ -404,12 +404,12 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable * * @version 0.7.5 * @since 0.7.5 - * @return string Name. * @throws E_OTS_NotLoaded If account is not loaded. */ public function setPremDays($premdays) { - $this->data['premdays'] = (int) $premdays; + $this->data['premdays'] = (int) $premdays; + $this->data['premend'] = time() + ($premdays * 24 * 60 * 60); } public function setRLName($name)