forked from extern/egroupware
backport of r26785 to 1.6: fixed bug reported on German list: all new calendar events in trunk are private
This commit is contained in:
parent
747c796d1e
commit
405d0c2e19
@ -783,7 +783,7 @@ class boetemplate extends soetemplate
|
||||
{
|
||||
if (strpos($str,$enclosure) === false)
|
||||
{
|
||||
return explode($delimiter,$str,$num); // no need to run this more expensive code
|
||||
return is_null($num) ? explode($delimiter,$str) : explode($delimiter,$str,$num); // no need to run this more expensive code
|
||||
}
|
||||
$parts = explode($delimiter,$str);
|
||||
for($n = 0; isset($parts[$n]); ++$n)
|
||||
|
Loading…
Reference in New Issue
Block a user