Skip to content
Snippets Groups Projects
Commit f9856763 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

fix php 5.4 compatibility

parent 577c2340
2 merge requests!1659Master,!1587Master
......@@ -84,7 +84,8 @@ class ZendAfi_View_Helper_RenderLibrary extends ZendAfi_View_Helper_BaseHelper {
$custom_field = $custom_fields[$custom_field_id];
if (empty($custom_field->getSelectedOptionsList()))
$selected_option = $custom_field->getSelectedOptionsList();
if (empty($selected_option))
return $this->renderCustomField($custom_field, $custom_field_id);
return $this->renderCustomFieldAsList($custom_field, $custom_field_id);
......
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