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:
Ralf Becker 2009-04-16 10:41:46 +00:00
parent 747c796d1e
commit 405d0c2e19

View File

@ -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)