2
0
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:
Adam Zammit
2013-11-27 12:21:37 +11:00
parent e5feb27daa
commit f5acc307a1
9 changed files with 19 additions and 19 deletions

View File

@@ -209,7 +209,7 @@ if (isset($_GET['appointment_id']) && isset($_GET['case_id']))
array_unshift($ops,array('value'=>0,'description'=>T_("Any operator"),'selected'=>$selected));
display_chooser($ops,"require_operator_id","require_operator_id",false,false,false,false);
print "<input type='hidden' value='$appointment_id' id='appointment_id' name='appointment_id'/>";
print "<div><input type='submit' value='" . TQ_("Edit appointment") . "'/></div>";
print "<div><input type='submit' value=\"" . T_("Edit appointment") . "\"/></div>";
print "</form></p>";
print "<p><a href='?'>" . T_("Cancel edit") . "</a></p>";