if filter showonlypublic is set, set status filter to hide rejected too

This commit is contained in:
Klaus Leithoff 2010-04-26 12:28:30 +00:00
parent 0d13079a46
commit 5e8b903207

View File

@ -405,7 +405,8 @@ class calendar_so
switch($filter)
{
case 'showonlypublic':
$where[] = "cal_public=1"; break;
$where[] = "cal_public=1";
$where[] = "cal_status != 'R'"; break;
case 'deleted':
$where[] = 'cal_deleted='.$this->db->quote(true,'bool');
case 'unknown':