From ad4b59d2c83e0a02740b048466d034d14cd1f3c8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 12 Jan 2018 15:33:21 +0100 Subject: [PATCH] Fix scrutinizer --- htdocs/core/class/html.formfile.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 10a31b215f7..1a67e374e68 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1236,7 +1236,7 @@ class FormFile print ""; print ''; - if (! $editline && $nboflines > 1 && is_object($object)) { + if ($nboflines > 1 && is_object($object)) { if (! empty($conf->use_javascript_ajax) && $permtoeditline) { $table_element_line = 'ecm_files'; include DOL_DOCUMENT_ROOT . '/core/tpl/ajaxrow.tpl.php';