Commit 3c16dae9 authored by Jérome Perrin's avatar Jérome Perrin

escape variation_text


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5310 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4d3ceb48
......@@ -57,9 +57,9 @@
<key> <string>_keys</string> </key>
<value>
<list>
<string>explanation_uid</string>
<string>resource_uid</string>
<string>variation_text</string>
<string>explanation_uid</string>
<string>resource_uid</string>
<string>variation_text</string>
</list>
</value>
</item>
......@@ -139,7 +139,7 @@ WHERE\n
AND movement.resource_uid = <dtml-sqlvar resource_uid type="int">\n
</dtml-if>\n
<dtml-if variation_text>\n
AND movement.variation_text = "<dtml-var variation_text>"\n
AND movement.variation_text = <dtml-sqlvar variation_text type="string">\n
</dtml-if>\n
......@@ -194,7 +194,7 @@ WHERE\n
AND movement.resource_uid = <dtml-sqlvar resource_uid type="int">\n
</dtml-if>\n
<dtml-if variation_text>\n
AND movement.variation_text = "<dtml-var variation_text>"\n
AND movement.variation_text = <dtml-sqlvar variation_text type="string">\n
</dtml-if>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment