Commit 911067a2 authored by Leigh B Stoller's avatar Leigh B Stoller

Remove some debugging output.

parent 1314ab24
...@@ -87,17 +87,11 @@ function Do_Reserve() ...@@ -87,17 +87,11 @@ function Do_Reserve()
if (!$start) { if (!$start) {
$errors["start"] = "Cannot parse date"; $errors["start"] = "Cannot parse date";
} }
else {
error_log("Start: $start_ascii, $start");
}
$end_ascii = $formfields["end"]; $end_ascii = $formfields["end"];
$end = strtotime($formfields["end"]); $end = strtotime($formfields["end"]);
if (!$end) { if (!$end) {
$errors["end"] = "Cannot parse date"; $errors["end"] = "Cannot parse date";
} }
else {
error_log("End: $end_ascii, $end");
}
if (isset($start) && isset($end) && $end < $start) { if (isset($start) && isset($end) && $end < $start) {
$errors["end"] = "End is before start"; $errors["end"] = "End is before start";
} }
......
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