mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
Compensate for bug in ACL
This commit is contained in:
parent
fc3df2e82e
commit
5371495831
@ -1173,6 +1173,12 @@
|
||||
$owner_id = $data['owner_id'];
|
||||
}
|
||||
|
||||
/* This is correct. The ACL currently doesn't handle undefined values correctly */
|
||||
if (!$owner_id)
|
||||
{
|
||||
$owner_id = 0;
|
||||
}
|
||||
|
||||
$user_id = $GLOBALS['phpgw_info']['user']['account_id'];
|
||||
|
||||
/* They always have access to their own files */
|
||||
|
Loading…
Reference in New Issue
Block a user