mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
fix for bug #866: private InfoLog entries are shown in the calendar day-view, if looking on someone elses calendar
This commit is contained in:
parent
331c2a70a0
commit
ad513a1351
@ -244,8 +244,7 @@ class soinfolog // DB-Layer
|
|||||||
|
|
||||||
if ($filter == 'user' && $f_user > 0)
|
if ($filter == 'user' && $f_user > 0)
|
||||||
{
|
{
|
||||||
$filtermethod = " (info_owner=$f_user AND info_responsible=0 OR $filtermethod AND ".$this->responsible_filter($f_user).
|
$filtermethod .= " AND (info_owner=$f_user AND info_responsible=0 OR ".$this->responsible_filter($f_user).')';
|
||||||
" AND $filtermethod)";
|
|
||||||
}
|
}
|
||||||
//echo "<p>aclFilter(filter='$filter_was',user='$user') = '$filtermethod', privat_user_list=".print_r($privat_user_list,True).", public_user_list=".print_r($public_user_list,True)."</p>\n";
|
//echo "<p>aclFilter(filter='$filter_was',user='$user') = '$filtermethod', privat_user_list=".print_r($privat_user_list,True).", public_user_list=".print_r($public_user_list,True)."</p>\n";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user