Handle if event deleted flag gets turned into a string (Postgres)

This commit is contained in:
Nathan Gray 2010-05-04 15:47:53 +00:00
parent 864539b5eb
commit 5bea81f18f

View File

@ -799,6 +799,11 @@ class calendar_bo
$alarm['time'] = $this->date2usertime($alarm['time'],$date_format);
}
}
// Check for deleted flag
if(!is_numeric($event['deleted']) && $event['deleted'] == 'f') {
$event['deleted'] = false;
}
}
}