This commit is contained in:
notfire 2025-02-27 08:56:55 -05:00
parent 1749c9599d
commit 916fe94815
Signed by: notfire
GPG key ID: 3AFDACAAB4E56B16

View file

@ -34,7 +34,7 @@ WHERE id = {$id};
$qresp = pg_query($db, $query);
$arr = pg_fetch_array($qresp);
$runOnLoad = "document.getElementById(\"passinput\").value = " . htmlspecialchars($arr["responsetext"]);
$runOnLoad = "document.getElementById(\"passinput\").value = \"" . htmlspecialchars($arr["responsetext"]) . "\"";
$properTitle = $pageTitle . " respond to question #" . $id;
include '../boilerplate/pageStart.php';