mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fixes lp:1255359 Translation strings with single quotes break some SQL queries
Additional fix for submit buttons where the value needs to be double quoted
This commit is contained in:
@@ -87,7 +87,7 @@ if ($chatenabled && operator_chat_enabled($operator_id))
|
||||
print "<div style='display:none' id='statusavailable'>" . T_("Supervisor is available") . "</div>";
|
||||
print "<div id='statusunavailable'>" . T_("Supervisor not available") . "</div>";
|
||||
|
||||
print "<div id='chatbox'><label for='chattext'>" . T_("Message") . ":</label><input type='text' id='chattext'/> <input type='submit' id='chatclick' value='" . TQ_("Send") . "'/></div>";
|
||||
print "<div id='chatbox'><label for='chattext'>" . T_("Message") . ":</label><input type='text' id='chattext'/> <input type='submit' id='chatclick' value=\"" . T_("Send") . "\"/></div>";
|
||||
|
||||
//table for chat messages
|
||||
print "<table class='tclass' id='chattable'><tbody><tr><th>" . T_("From") . "</th><th>" . T_("Message") . "</th></tr></tbody></table>";
|
||||
|
||||
Reference in New Issue
Block a user