Commit 7567d7d6 authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Romain Courteaud

erp5_standard_property: has_key only accepts strings to search in property_dict

parent 1075a315
......@@ -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