Commit f4ce6e26 authored by Bate's avatar Bate

Planning2

parent e29c0ef9
......@@ -124,9 +124,9 @@ class planning2 extends stdentity
return -1;
if($start >= $end)
return -1;
if($this->weekly && $start < $this->start)
if(!$this->weekly && $start < $this->start)
return -1;
if($this->weekly && $end > $this->end)
if(!$this->weekly && $end > $this->end)
return -1;
if($this->weekly)
{
......
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