Admin: Fix error editing export ACL definition

Cannot access offset of type string on string

/var/www/epl-trunk/admin/inc/class.admin_wizard_export_acl_csv.inc.php (51)
This commit is contained in:
nathan 2023-08-18 09:48:03 -06:00
parent f722619f17
commit 293657a48b

View File

@ -48,6 +48,10 @@ class admin_wizard_export_acl_csv extends importexport_wizard_basic_export_csv
unset($this->export_fields['all_custom_fields']);
foreach($content['fields'] as $field_id => $field)
{
if(!is_array($field))
{
continue;
}
if($field['field'] == 'all_custom_fields')
{
unset($content['fields'][$field_id]);