mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
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
94a08a86d2
commit
378ec0680b
@ -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…
x
Reference in New Issue
Block a user