From 494dce755e93e398db5560a4c69b588a7c408a2c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Mar 2011 09:59:05 +0000 Subject: [PATCH] Fix: Use size of array --- htdocs/compta/bank/admin/bank.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/admin/bank.php b/htdocs/compta/bank/admin/bank.php index 15f0896eecd..af87362489c 100644 --- a/htdocs/compta/bank/admin/bank.php +++ b/htdocs/compta/bank/admin/bank.php @@ -134,7 +134,7 @@ $bankorder[1][2]='BankCode DeskCode BankAccountNumberKey AccountNumber'; $var = true; $i=0; -while ($i<=1) +while ($i < sizeof($bankorder)) { $var = !$var;