Changeset 18512 for trunk/FACT++/www


Ignore:
Timestamp:
05/27/16 09:44:29 (9 years ago)
Author:
tbretz
Message:
Check whether date could be parsed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/schedule/save.php

    r18367 r18512  
    186186    $d = date_parse($t);
    187187    $t = $d['hour']<12 ? $nextDay." ".$t : $day." ".$t;
     188
     189    if ($d==FALSE)
     190        die("Could not parse time '".$t."' with date_parse");
    188191
    189192    // Check all but the last task in a measurement whether
Note: See TracChangeset for help on using the changeset viewer.