[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: projects/inc class.soprojects.inc.php,1.34.2.2,1
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: projects/inc class.soprojects.inc.php,1.34.2.2,1.34.2.3 |
Date: |
Thu, 02 May 2002 10:01:08 -0400 |
Update of /cvsroot/phpgroupware/projects/inc
In directory subversions:/tmp/cvs-serv8279
Modified Files:
Tag: Version-0_9_14-branch
class.soprojects.inc.php
Log Message:
update filter
Index: class.soprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.soprojects.inc.php,v
retrieving revision 1.34.2.2
retrieving revision 1.34.2.3
diff -C2 -r1.34.2.2 -r1.34.2.3
*** class.soprojects.inc.php 14 Apr 2002 03:46:25 -0000 1.34.2.2
--- class.soprojects.inc.php 2 May 2002 14:01:05 -0000 1.34.2.3
***************
*** 97,105 ****
if ($this->isprojectadmin('pad') ||
$this->isbookkeeper('pbo'))
{
! $filtermethod = " access != 'private'";
}
else
{
! $filtermethod = " ( coordinator=" .
$this->account;
if (is_array($this->grants))
{
--- 97,105 ----
if ($this->isprojectadmin('pad') ||
$this->isbookkeeper('pbo'))
{
! $filtermethod = " ( access != 'private'
OR coordinator = '" . $this->account . "' )";
}
else
{
! $filtermethod = " ( coordinator='" .
$this->account . "'";
if (is_array($this->grants))
{
***************
*** 147,153 ****
$sql = "SELECT * from phpgw_p_projects WHERE
$filtermethod $statussort $querymethod";
- $this->db2->query($sql,__LINE__,__FILE__);
- $this->total_records = $this->db2->num_rows();
-
if ($limit)
{
--- 147,150 ----
***************
*** 158,161 ****
--- 155,160 ----
$this->db->query($sql .
$ordermethod,__LINE__,__FILE__);
}
+
+ $this->total_records = $this->db->num_rows();
$i = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: projects/inc class.soprojects.inc.php,1.34.2.2,1.34.2.3,
Bettina Gille <address@hidden> <=