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:12:51 +00:00
parent c67748c1f8
commit 30a3609a65

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]))
{ {