From 4082448a0e5bb9caff7fc69adf56bac9a9f359f5 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 18 Mar 2001 17:03:11 +0000 Subject: [PATCH] Changed the variable to force it to an integer --- calendar/inc/functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index adb8b196d7..19f6c298bb 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -31,6 +31,8 @@ $owner = 0; } + settype($owner,'integer'); + if(!isset($owner) || !$owner || ($owner == $phpgw_info['user']['account_id'])) { $owner = $phpgw_info['user']['account_id'];