"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:
Ralf Becker 2007-06-09 16:10:20 +00:00
parent 1b482d0587
commit 349b8c521a

View File

@ -244,8 +244,7 @@ class soinfolog // DB-Layer
if ($filter == 'user' && $f_user > 0)
{
$filtermethod = " (info_owner=$f_user AND info_responsible=0 OR $filtermethod AND ".$this->responsible_filter($f_user).
" AND $filtermethod)";
$filtermethod .= " AND (info_owner=$f_user AND info_responsible=0 OR ".$this->responsible_filter($f_user).')';
}
//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";