From 63e824144e6790659d1e51bfeb1840b8fe1fa27b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 12 Jan 2018 15:19:02 +0100 Subject: [PATCH] Fix scrutinizer bug --- htdocs/compta/bank/bankentries_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php index baa3d9e3716..0493ffef3b0 100644 --- a/htdocs/compta/bank/bankentries_list.php +++ b/htdocs/compta/bank/bankentries_list.php @@ -663,7 +663,7 @@ if ($resql) print ''; print ''; print ''; - if ($options) { + if (is_array($options) && count($options)) { print '
'.$langs->trans("Rubrique").': '; print Form::selectarray('cat1', $options, GETPOST('cat1'), 1); }