From 35aece060cdf34320183525130ce6f7588efe661 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 13 Feb 2018 15:47:17 +0100 Subject: [PATCH] Search field in correct column --- htdocs/core/class/html.formfile.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index ac5bfdcabb7..3d560c9644e 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1289,13 +1289,13 @@ class FormFile } } + print ajax_autoselect('downloadlink'); + if (GETPOST('action','aZ09') == 'editfile' && $permtoeditline) { print ''; } - print ajax_autoselect('downloadlink'); - return $nboffiles; } } @@ -1344,8 +1344,8 @@ class FormFile if (! empty($addfilterfields)) { print ''; - print ''; print ''; + print ''; print ''; print ''; // Action column