From 30a3609a6573052e59687da5a6be8489a9ba32b8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 15 Sep 2004 18:12:51 +0000 Subject: [PATCH] fixed bug reported on the german mailinglist: - Warning implode wrong arguments on line 120 - space after comma is not ignored --- addressbook/csv_import.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addressbook/csv_import.php b/addressbook/csv_import.php index accdb1772e..6536c2516c 100644 --- a/addressbook/csv_import.php +++ b/addressbook/csv_import.php @@ -90,7 +90,8 @@ return ''; } - foreach(split('[,;]',$cats) as $cat) + $ids = array(); + foreach(split(' *[,;] *',$cats) as $cat) { if(isset($cat2id[$cat])) {