Adjust the schedule default start/end times

This commit is contained in:
james 2010-06-14 16:58:33 +00:00
parent 7e4a3af95d
commit 3b7d24c823

View File

@ -35,10 +35,10 @@
$endhour=$_POST['endhour']; $endhour=$_POST['endhour'];
//do some sanity checks //do some sanity checks
if($starthour<0 || $starthour>24) $starthour=7; if($starthour<0 || $starthour>24) $starthour=8;
if($endhour<$starthour) if($endhour<$starthour)
$endhour=$starthour+10; $endhour=$starthour+10;
if($endhour<0 || $endhour>24) $endhour=17; if($endhour<0 || $endhour>24) $endhour=15;
//minute increment //minute increment
$increment=15; $increment=15;