mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
using (bool) cast instead of php5.5+ boolval() function
This commit is contained in:
parent
7023d39d98
commit
3060ed0915
@ -793,7 +793,7 @@ class calendar_ui
|
|||||||
{
|
{
|
||||||
$event['category'] = $this->categories->check_list(EGW_ACL_READ, $event['category']);
|
$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))
|
if(!(int)$event['id'] && preg_match('/^([a-z_-]+)([0-9]+)$/i',$event['id'],$matches))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user