Compensate for bug in ACL

This commit is contained in:
Zone 2002-06-24 04:02:14 +00:00
parent fc3df2e82e
commit 5371495831

View File

@ -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 */