Changed the variable to force it to an integer

This commit is contained in:
skeeter 2001-03-18 17:03:11 +00:00
parent 94f59cfde8
commit 4082448a0e

View File

@ -31,6 +31,8 @@
$owner = 0; $owner = 0;
} }
settype($owner,'integer');
if(!isset($owner) || !$owner || ($owner == $phpgw_info['user']['account_id'])) if(!isset($owner) || !$owner || ($owner == $phpgw_info['user']['account_id']))
{ {
$owner = $phpgw_info['user']['account_id']; $owner = $phpgw_info['user']['account_id'];