diff --git a/htdocs/accountancy/customer/list.php b/htdocs/accountancy/customer/list.php
index 02602262e2c..03e31d44a96 100644
--- a/htdocs/accountancy/customer/list.php
+++ b/htdocs/accountancy/customer/list.php
@@ -63,7 +63,7 @@ if ($action == 'ventil') {
$cpt = 0;
foreach ( $mesCasesCochees as $maLigneCochee ) {
// print '
id selectionnee : '.$monChoix."
";
- $maLigneCourante = split("_", $maLigneCochee);
+ $maLigneCourante = explode("_", $maLigneCochee);
$monId = $maLigneCourante[0];
$monNumLigne = $maLigneCourante[1];
$monCompte = $mesCodesVentilChoisis[$monNumLigne];
@@ -234,4 +234,4 @@ if ($result) {
}
$db->close();
-llxFooter();
\ No newline at end of file
+llxFooter();
diff --git a/htdocs/accountancy/supplier/list.php b/htdocs/accountancy/supplier/list.php
index 84f548344b8..817b07c178e 100644
--- a/htdocs/accountancy/supplier/list.php
+++ b/htdocs/accountancy/supplier/list.php
@@ -65,7 +65,7 @@ if ($action == 'ventil') {
foreach ( $mesCasesCochees as $maLigneCochee ) {
// print 'id selectionnee : '.$monChoix."
";
- $maLigneCourante = split("_", $maLigneCochee);
+ $maLigneCourante = explode("_", $maLigneCochee);
$monId = $maLigneCourante[0];
$monNumLigne = $maLigneCourante[1];
$monCompte = $mesCodesVentilChoisis[$monNumLigne];