mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 21:09:52 +01:00
change (int) to intval()
This commit is contained in:
parent
22f9d3d668
commit
3be46e3e1e
@ -21,7 +21,7 @@
|
||||
$cal_info = new calendar_item;
|
||||
|
||||
if ($id > 0) {
|
||||
$cal = $phpgw->calendar->getevent((int)$id);
|
||||
$cal = $phpgw->calendar->getevent(intval($id));
|
||||
$cal_info = $cal[0];
|
||||
|
||||
$can_edit = false;
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
// first see who has access to view this entry
|
||||
$is_my_event = false;
|
||||
$cal = $phpgw->calendar->getevent((int)$id);
|
||||
$cal = $phpgw->calendar->getevent(intval($id));
|
||||
|
||||
$cal_info = $cal[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user