mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
More Define canned date if not set. Prevents undefined errors Same as a48e302
This commit is contained in:
@@ -69,6 +69,12 @@
|
||||
$dtt = "9999-00-00";
|
||||
}
|
||||
|
||||
if(empty($_GET['canned_date'])){
|
||||
//Prevents lots of undefined variable errors.
|
||||
// $dtf and $dtt will be set by the below else to 0000-00-00 / 9999-00-00
|
||||
$_GET['canned_date'] = 'custom';
|
||||
}
|
||||
|
||||
//Rebuild URL
|
||||
$url_query_strings_sb = http_build_query(array_merge($_GET,array('sb' => $sb, 'o' => $o)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user