forked from science-ation/science-ation
Adjust the schedule default start/end times
This commit is contained in:
parent
7e4a3af95d
commit
3b7d24c823
@ -35,10 +35,10 @@
|
||||
$endhour=$_POST['endhour'];
|
||||
|
||||
//do some sanity checks
|
||||
if($starthour<0 || $starthour>24) $starthour=7;
|
||||
if($starthour<0 || $starthour>24) $starthour=8;
|
||||
if($endhour<$starthour)
|
||||
$endhour=$starthour+10;
|
||||
if($endhour<0 || $endhour>24) $endhour=17;
|
||||
if($endhour<0 || $endhour>24) $endhour=15;
|
||||
|
||||
//minute increment
|
||||
$increment=15;
|
||||
|
Loading…
Reference in New Issue
Block a user