diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php index d3093fc56c1..c9e86e95619 100644 --- a/htdocs/expedition/card.php +++ b/htdocs/expedition/card.php @@ -1128,7 +1128,6 @@ if ($action == 'create') print "\n"; } - $var=true; $indiceAsked = 0; while ($indiceAsked < $numAsked) { diff --git a/htdocs/expedition/list.php b/htdocs/expedition/list.php index 818bf0179de..767000f1e96 100644 --- a/htdocs/expedition/list.php +++ b/htdocs/expedition/list.php @@ -461,7 +461,6 @@ if ($resql) print "\n"; $i=0; - $var=true; $totalarray=array(); while ($i < min($num,$limit)) { diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php index 9dd4b5e81ba..cb058e44598 100644 --- a/htdocs/expedition/shipment.php +++ b/htdocs/expedition/shipment.php @@ -642,7 +642,6 @@ if ($id > 0 || ! empty($ref)) } print "\n"; - $var=true; $toBeShipped=array(); $toBeShippedTotal=0; while ($i < $num) diff --git a/htdocs/expensereport/payment/payment.php b/htdocs/expensereport/payment/payment.php index 380752daff9..23959c06e67 100644 --- a/htdocs/expensereport/payment/payment.php +++ b/htdocs/expensereport/payment/payment.php @@ -282,7 +282,6 @@ if ($action == 'create' || empty($action)) print ''.$langs->trans("Amount").''; print "\n"; - $var=true; $total=0; $totalrecu=0; diff --git a/htdocs/expensereport/stats/index.php b/htdocs/expensereport/stats/index.php index 8e0df834a3f..b4f0327cd39 100644 --- a/htdocs/expensereport/stats/index.php +++ b/htdocs/expensereport/stats/index.php @@ -255,7 +255,6 @@ print ''.$langs->trans("AmountAverage").''; print ''; $oldyear=0; -$var=true; foreach ($data as $val) { $year = $val['year']; @@ -263,7 +262,7 @@ foreach ($data as $val) { // If we have empty year $oldyear--; - print ''; + print ''; print ''.$oldyear.''; print '0'; print '0'; @@ -272,7 +271,7 @@ foreach ($data as $val) } - print ''; + print ''; print ''.$year.''; print ''.$val['nb'].''; print ''.price(price2num($val['total'],'MT'),1).'';