fixed not working creation of new series, calendar_bo::read() always returned some event, even if no id given

This commit is contained in:
Ralf Becker 2011-04-08 14:20:01 +00:00
parent 0e56e1b7b6
commit 2de73d86a5

View File

@ -845,6 +845,8 @@ class calendar_bo
*/
function read($ids,$date=null,$ignore_acl=False,$date_format='ts',$clear_private_infos_users=null)
{
if (!$ids) return false;
if ($date) $date = $this->date2ts($date);
$return = null;