change (int) to intval()

This commit is contained in:
skeeter 2000-11-25 03:48:10 +00:00
parent 22f9d3d668
commit 3be46e3e1e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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];