mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +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;
|
$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'];
|
||||||
|
Loading…
Reference in New Issue
Block a user