Commit 0c167ba1 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use dtml conditionals to catch errors. Bad. Just a workaround.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2934 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6078c085
......@@ -5,7 +5,7 @@ max_rows:1000
max_cache:100
cache_time:0
class_name:
class_file:
class_
</dtml-comment>
<params>isMovement
uid
......@@ -29,7 +29,7 @@ isDeliverable
isDivergent
getVariationText</params>
<dtml-if isMovement>
INSERT INTO movement VALUES (
INSERT INTO movement VALUES (
<dtml-sqlvar uid type="int">,
<dtml-if getExplanationUid><dtml-sqlvar getExplanationUid type="int"><dtml-else>NULL</dtml-if>,
<dtml-if getSourceUid><dtml-sqlvar getSourceUid type="int"><dtml-else>NULL</dtml-if>,
......@@ -53,3 +53,4 @@ INSERT INTO movement VALUES (
<dtml-if "getVariationText is not None"><dtml-sqlvar getVariationText type="string"><dtml-else>NULL</dtml-if>
);
</dtml-if>
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