fixed bug reported on the german mailinglist:

- Warning implode wrong arguments on line 120
- space after comma is not ignored
This commit is contained in:
Ralf Becker 2004-09-15 18:13:48 +00:00
parent 94a08a86d2
commit 378ec0680b

View File

@ -90,7 +90,8 @@
return ''; return '';
} }
foreach(split('[,;]',$cats) as $cat) $ids = array();
foreach(split(' *[,;] *',$cats) as $cat)
{ {
if(isset($cat2id[$cat])) if(isset($cat2id[$cat]))
{ {