mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
* fix OTS_Account->setPremDays for OTHire
This commit is contained in:
parent
a94a9291e6
commit
559d13dfd9
@ -404,12 +404,12 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable
|
|||||||
*
|
*
|
||||||
* @version 0.7.5
|
* @version 0.7.5
|
||||||
* @since 0.7.5
|
* @since 0.7.5
|
||||||
* @return string Name.
|
|
||||||
* @throws E_OTS_NotLoaded If account is not loaded.
|
* @throws E_OTS_NotLoaded If account is not loaded.
|
||||||
*/
|
*/
|
||||||
public function setPremDays($premdays)
|
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)
|
public function setRLName($name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user