Commit 1f518681 authored by Bate's avatar Bate

Planning2

parent b6cd8593
......@@ -446,7 +446,9 @@ class planning2 extends stdentity
if($this->weekly)
{
$diff = $date - $this->start;
echo $diff;
$date = $date - ($diff % ($this->weekly*3600*24));
echo ($diff % ($this->weekly*3600*24));
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment