forked from extern/egroupware
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:
parent
c67748c1f8
commit
30a3609a65
@ -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]))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user