summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes.inc.php')
-rw-r--r--frontends/php/include/classes.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php
index 064d32c6..10729577 100644
--- a/frontends/php/include/classes.inc.php
+++ b/frontends/php/include/classes.inc.php
@@ -364,7 +364,7 @@
{
$now = time(NULL);
$this->to_time=$now-3600*$this->from;
- $this->from_time=$this->to_time-$this->period-3600*$this->from;
+ $this->from_time=$this->to_time-$this->period;
$p=$this->to_time-$this->from_time;
$z=$p-$this->from_time%$p;