summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-16 15:36:40 +0300
committerAndrew Dolgov <[email protected]>2021-02-16 15:36:40 +0300
commit627af2c236bf4a370a5d31641757b69d679513f6 (patch)
tree05912a2bf83e99bb7c3688c82d804c936a4fe182 /include
parent4f4e57bb26620ba6f4adcc413ff60b86fdeb158f (diff)
amend previous to fix actual underlying problem (double escaping)
Diffstat (limited to 'include')
-rwxr-xr-xinclude/controls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/controls.php b/include/controls.php
index 6d3cfc417..b351a9449 100755
--- a/include/controls.php
+++ b/include/controls.php
@@ -61,7 +61,7 @@
function hidden_tag(string $name, string $value) {
return "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\"
- name=\"".htmlspecialchars($name)."\" value=\"$value\">";
+ name=\"".htmlspecialchars($name)."\" value=\"".htmlspecialchars($value)."\">";
}
function checkbox_tag(string $name, bool $checked = false, string $value = "", string $attributes = "", string $id = "") {