2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Remove deprecated functions for php 7.4

This commit is contained in:
Adam Zammit
2021-01-28 14:24:26 +11:00
parent ad6d89834b
commit 30c4376765
14 changed files with 37 additions and 37 deletions

View File

@@ -94,8 +94,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 availability (day_of_week,start,end,availability_group_id)
VALUES ('$val',$start,$end,$availability_group)";