"fixed bug reported on German list: all new calendar events in trunk are private"

This commit is contained in:
Ralf Becker 2009-04-15 09:11:03 +00:00
parent e20bd1703b
commit 68f15f6c5a

View File

@ -702,7 +702,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)