Commit 2e39c54f authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: has_key only accpets strings to search in property_dict

parent 2f4a1da1
......@@ -105,7 +105,7 @@ property values, edit the values and click "Save Changes".
</dtml-in>
</select>
</div>
<dtml-elif "_.has_key(select_variable)">
<dtml-elif "_.has_key('select_variable')">
<div class="form-element">
<select name="&dtml-id;:<dtml-var "REQUEST['management_page_charset_tag']">text">
<dtml-in "_[select_variable]">
......@@ -135,7 +135,7 @@ property values, edit the values and click &quot;Save Changes&quot;.
</dtml-in>
</select>
</div>
<dtml-elif "_.has_key(select_variable)">
<dtml-elif "_.has_key('select_variable')">
<div class="form-element">
<select name="&dtml-id;:<dtml-var "REQUEST['management_page_charset_tag']">list:string" multiple
size="<dtml-var "_.min(7, _.len(_[select_variable]))">">
......
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