diff --git a/product/CMFActivity/skins/activity/SQLQueue_writeMessageList.zsql b/product/CMFActivity/skins/activity/SQLQueue_writeMessageList.zsql index a44af3a519554c87e0b296bc381c531629df0681..1c5fb377ce66c262ce648492957f6e707ebc6a52 100644 --- a/product/CMFActivity/skins/activity/SQLQueue_writeMessageList.zsql +++ b/product/CMFActivity/skins/activity/SQLQueue_writeMessageList.zsql @@ -25,7 +25,7 @@ VALUES ( <dtml-sqlvar expr="uid_list[loop_item]" type="int">, <dtml-sqlvar expr="path_list[loop_item]" type="string">, - <dtml-if date><dtml-sqlvar expr="date_list[loop_item]" type="datetime"><dtml-else>UTC_TIMESTAMP()</dtml-if>, + <dtml-if date_list><dtml-if expr="date_list[loop_item] is not None"><dtml-sqlvar expr="date_list[loop_item]" type="datetime"><dtml-else>UTC_TIMESTAMP()</dtml-if><dtml-else>UTC_TIMESTAMP()</dtml-if>, <dtml-sqlvar expr="method_id_list[loop_item]" type="string">, <dtml-if processing_node_list><dtml-sqlvar expr="processing_node_list[loop_item]" type="int"><dtml-else>-1</dtml-if>, 0,