diff options
author | Andrew Dolgov <[email protected]> | 2021-02-16 15:27:22 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-16 15:27:22 +0300 |
commit | 4f4e57bb26620ba6f4adcc413ff60b86fdeb158f (patch) | |
tree | 2c7db3fd54811cab933749e7e69aab646e3a7d01 /include/controls.php | |
parent | 1f5d81b77cd9a5d5f965af0435688c1f1f229e96 (diff) |
hidden_tag: temporarily prevent htmlspecialchars() to stop embedded JSON from breaking
Diffstat (limited to 'include/controls.php')
-rwxr-xr-x | include/controls.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/controls.php b/include/controls.php index b351a9449..6d3cfc417 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=\"".htmlspecialchars($value)."\">"; + name=\"".htmlspecialchars($name)."\" value=\"$value\">"; } function checkbox_tag(string $name, bool $checked = false, string $value = "", string $attributes = "", string $id = "") { |