using (bool) cast instead of php5.5+ boolval() function

This commit is contained in:
Ralf Becker 2015-10-05 09:38:25 +00:00
parent 7023d39d98
commit 3060ed0915

View File

@ -793,7 +793,7 @@ class calendar_ui
{
$event['category'] = $this->categories->check_list(EGW_ACL_READ, $event['category']);
}
$event['non_blocking'] = boolval($event['non_blocking']);
$event['non_blocking'] = (bool)$event['non_blocking'];
if(!(int)$event['id'] && preg_match('/^([a-z_-]+)([0-9]+)$/i',$event['id'],$matches))
{