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

More php8 compat fixes

This commit is contained in:
Adam Zammit
2023-04-26 16:28:14 +10:00
parent fb74ee3c65
commit 7e202234f3
24 changed files with 88 additions and 62 deletions

View File

@@ -60,7 +60,7 @@ if (isset($_POST['default']) && isset($_POST['save'])){
{
$sel[] = $val;
}
$sel=implode($sel,",");
$sel=implode(",",$sel);
$sql = "UPDATE `outcome` as o
SET `default` = 1
@@ -108,7 +108,7 @@ if (isset($_POST['qid']) && $_POST['qid'] > 0 && isset($_POST['save'])){
}
}
$sel=implode($sel,",");
$sel=implode(",",$sel);
$qid = intval($_POST['qid']);
$sql = "UPDATE questionnaire
@@ -225,7 +225,7 @@ if (isset($_GET['qid'])) {
$do[] = $val;
}
}
$qoutc = implode($do,",");
$qoutc = implode(",",$do);
$sql = "UPDATE questionnaire
SET outcomes = '$qoutc'