mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fix for warnings/notices/deprecated messages on PHP 7.4
This commit is contained in:
@@ -88,8 +88,8 @@ if (isset($_POST['day']))
|
||||
$val = intval($val);
|
||||
$key = intval($key);
|
||||
|
||||
$start = $db->qstr($_POST['start'][$key],get_magic_quotes_gpc());
|
||||
$end = $db->qstr($_POST['end'][$key],get_magic_quotes_gpc());
|
||||
$start = $db->qstr($_POST['start'][$key],0);
|
||||
$end = $db->qstr($_POST['end'][$key],0);
|
||||
|
||||
$sql = "INSERT INTO call_restrict (day_of_week,start,end)
|
||||
VALUES ('$val',$start,$end)";
|
||||
|
||||
Reference in New Issue
Block a user