diff -aburN --exclude='CVS*' phpgroupware.old/projects/inc/class.soprojects.inc.php phpgroupware/projects/inc/class.soprojects.inc.php
--- phpgroupware.old/projects/inc/class.soprojects.inc.php	2005-01-03 00:57:21.000000000 -0500
+++ phpgroupware/projects/inc/class.soprojects.inc.php	2006-02-25 15:49:19.375971288 -0500
@@ -173,6 +173,13 @@
 				$filtermethod = ' coordinator=' . $this->account . " AND access='private'";
 			}
 
+         		/* Make sure project employees have private access */
+			if($filter == 'none' || $filter == 'private') 
+                        {
+		            $emp_check_sql = " OR $this->account in (SELECT acl_account from phpgw_acl where phpgw_acl.acl_location = phpgw_p_projects.id)";
+			    $filtermethod .= $emp_check_sql;
+			}
+
 			if ($cat_id > 0)
 			{
 				$filtermethod .= ' AND category=' . $cat_id;
@@ -193,7 +200,7 @@
 				$querymethod = " AND (title like '%$query%' OR num like '%$query%' OR descr like '%$query%') ";
 			}
 
-			$sql = "SELECT * from phpgw_p_projects WHERE $filtermethod $statussort $querymethod";
+			$sql = "SELECT * from phpgw_p_projects WHERE ($filtermethod) $statussort $querymethod";
 
 			$this->db2->query($sql . $parent_select,__LINE__,__FILE__);
 			$total = $this->db2->num_rows();
