From 0518218aed63fbe6fdbbc584a97ec5ba1d53d48a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 11 Apr 2018 17:17:03 +0200 Subject: [PATCH] Fix regression --- htdocs/core/tpl/admin_extrafields_view.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/tpl/admin_extrafields_view.tpl.php b/htdocs/core/tpl/admin_extrafields_view.tpl.php index a3292773d4d..096d7e0bbff 100644 --- a/htdocs/core/tpl/admin_extrafields_view.tpl.php +++ b/htdocs/core/tpl/admin_extrafields_view.tpl.php @@ -60,7 +60,7 @@ if (! empty($conf->global->MAIN_CAN_HIDE_EXTRAFIELDS)) print ' '; print "\n"; -if (is_array($extrafields->attribute_type)) && count($extrafields->attribute_type)) +if (is_array($extrafields->attribute_type) && count($extrafields->attribute_type)) { foreach($extrafields->attribute_type as $key => $value) {