Fix for PHP 7.1

//funcions/builder/back.php

//Line 918
if (!isset($mfn_wraps[ $parent_wrap_ID ]['items']) || !is_array($mfn_wraps[ $parent_wrap_ID ]['items'])) {
$mfn_wraps[ $parent_wrap_ID ]['items'] = array();
 }
$mfn_wraps[ $parent_wrap_ID ]['items'][] = (array) $item;

//Line 929 (before)
if (!isset($mfn_items[ $section_key ]['wraps']) || !is_array($mfn_items[ $section_key ]['wraps'])) {
$mfn_items[ $section_key ]['wraps'] = array();
}
$mfn_items[ $section_key ]['wraps'][] = $wrap;

---

Please take note of that.

Comments

Sign In or Register to comment.