Commit 5a166aac authored by Bate's avatar Bate

Planning2

parent 096e3e8a
...@@ -95,10 +95,6 @@ if($_REQUEST["action"] === "new_gap" && isset($_REQUEST["start"]) ...@@ -95,10 +95,6 @@ if($_REQUEST["action"] === "new_gap" && isset($_REQUEST["start"])
$start -= $planning->get_week_start($start); $start -= $planning->get_week_start($start);
$end -= $planning->get_week_start($end); $end -= $planning->get_week_start($end);
} }
if(gmdate("H:i:s",$end) === "00:00:00")
$end--;
if(gmdate("H:i:s",$start) === "00:00:00")
$start++;
$name = $_REQUEST["name"]; $name = $_REQUEST["name"];
$max_users = $_REQUEST["max_users"]; $max_users = $_REQUEST["max_users"];
......
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