Skip to content

Commit

Permalink
Fix scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 12, 2018
1 parent 92f8fc8 commit ad4b59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formfile.class.php
Expand Up @@ -1236,7 +1236,7 @@ function list_of_documents($filearray,$object,$modulepart,$param='',$forcedownlo
print "</table>";
print '</div>';

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';
Expand Down

0 comments on commit ad4b59d

Please sign in to comment.