diff --git a/htdocs/compta/bank/info.php b/htdocs/compta/bank/info.php index 159fd74e576..e26311c8305 100644 --- a/htdocs/compta/bank/info.php +++ b/htdocs/compta/bank/info.php @@ -74,11 +74,11 @@ $h++; $head[$h][0] = DOL_URL_ROOT.'/compta/bank/info.php?rowid='.$id; $head[$h][1] = $langs->trans("Info"); -$hselected = $h; +$hselected = (string) $h; $h++; -print dol_get_fiche_head($head, (string) $hselected, $langs->trans("LineRecord"), -1, 'accountline'); +print dol_get_fiche_head($head, $hselected, $langs->trans("LineRecord"), -1, 'accountline'); $linkback = ''.$langs->trans("BackToList").''; diff --git a/htdocs/compta/paiement/cheque/card.php b/htdocs/compta/paiement/cheque/card.php index 7d03bc17ba1..4e527c8f229 100644 --- a/htdocs/compta/paiement/cheque/card.php +++ b/htdocs/compta/paiement/cheque/card.php @@ -321,7 +321,7 @@ if ($action == 'new') { $h = 0; $head[$h][0] = $_SERVER["PHP_SELF"].'?action=new'; $head[$h][1] = $langs->trans("MenuChequeDeposits"); - $hselected = $h; + $hselected = (string) $h; $h++; print load_fiche_titre($title, '', 'bank_account'); @@ -336,13 +336,13 @@ if ($action == 'new') { $head = array(); $head[$h][0] = $_SERVER["PHP_SELF"].'?id='.$object->id; $head[$h][1] = $langs->trans("CheckReceipt"); - $hselected = $h; + $hselected = (string) $h; $h++; // $head[$h][0] = DOL_URL_ROOT.'/compta/paiement/cheque/info.php?id='.$object->id; // $head[$h][1] = $langs->trans("Info"); // $h++; - print dol_get_fiche_head($head, (string) $hselected, $langs->trans("Cheques"), -1, 'payment'); + print dol_get_fiche_head($head, $hselected, $langs->trans("Cheques"), -1, 'payment'); /* * Confirmation of slip's delete diff --git a/htdocs/compta/payment_sc/card.php b/htdocs/compta/payment_sc/card.php index b1e56ea8b21..3551647754d 100644 --- a/htdocs/compta/payment_sc/card.php +++ b/htdocs/compta/payment_sc/card.php @@ -105,7 +105,7 @@ $h = 0; $head = array(); $head[$h][0] = DOL_URL_ROOT.'/compta/payment_sc/card.php?id='.$id; $head[$h][1] = $langs->trans("PaymentSocialContribution"); -$hselected = $h; +$hselected = (string) $h; $h++; /*$head[$h][0] = DOL_URL_ROOT.'/compta/payment_sc/info.php?id='.$id; @@ -114,7 +114,7 @@ $h++; */ -print dol_get_fiche_head($head, (string) $hselected, $langs->trans("PaymentSocialContribution"), -1, 'payment'); +print dol_get_fiche_head($head, $hselected, $langs->trans("PaymentSocialContribution"), -1, 'payment'); /* * Deletion confirmation of payment diff --git a/htdocs/compta/payment_vat/card.php b/htdocs/compta/payment_vat/card.php index 4c722a39675..385487a9ecb 100644 --- a/htdocs/compta/payment_vat/card.php +++ b/htdocs/compta/payment_vat/card.php @@ -134,7 +134,7 @@ $h = 0; $head = array(); $head[$h][0] = DOL_URL_ROOT.'/compta/payment_vat/card.php?id='.$id; $head[$h][1] = $langs->trans("VATPayment"); -$hselected = $h; +$hselected = (string) $h; $h++; /*$head[$h][0] = DOL_URL_ROOT.'/compta/payment_sc/info.php?id='.$id; @@ -143,7 +143,7 @@ $h++; */ -print dol_get_fiche_head($head, (string) $hselected, $langs->trans("VATPayment"), -1, 'payment'); +print dol_get_fiche_head($head, $hselected, $langs->trans("VATPayment"), -1, 'payment'); /* * Deletion confirmation of payment diff --git a/htdocs/compta/prelevement/line.php b/htdocs/compta/prelevement/line.php index 662922ba36e..0a26ac6ada5 100644 --- a/htdocs/compta/prelevement/line.php +++ b/htdocs/compta/prelevement/line.php @@ -153,7 +153,7 @@ $head = array(); $h = 0; $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/line.php?id='.((int) $id).'&type='.urlencode($type); $head[$h][1] = $title; -$hselected = $h; +$hselected = (string) $h; $h++; if ($id) { @@ -164,7 +164,7 @@ if ($id) { $bon = new BonPrelevement($db); $bon->fetch($lipre->bon_rowid); - print dol_get_fiche_head($head, (string) $hselected, $title, -1, 'payment'); + print dol_get_fiche_head($head, $hselected, $title, -1, 'payment'); print '