Commit ec41c2b8 authored by Boris Kocherov's avatar Boris Kocherov

fix form generation if form contains proxy field with

empty form_id property

first slash in form_id of proxy field is not considered as empty
portal_skin of form
parent 3f5c298a
......@@ -435,7 +435,7 @@ class ProxyField(ZMIField):
form_id = self.get_value('form_id')
proxy_field = None
form_id_with_skin_folder_name_flag = False
if '/' in form_id:
if form_id.find('/') > 0:
# If a / is in the form_id, it means that skin_folder is explicitly
# defined. If so, prevent acquisition to get the form.
form_id_with_skin_folder_name_flag = True
......
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