mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Changed the variable to force it to an integer
This commit is contained in:
parent
94f59cfde8
commit
4082448a0e
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user