phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] projects/inc class.boprojects.inc.php, 1.42.2.5.2.34,


From: Alejandro Borges (lex) <address@hidden>
Subject: [Phpgroupware-cvs] projects/inc class.boprojects.inc.php, 1.42.2.5.2.34, 1.42.2.5.2.35
Date: Sun, 05 Oct 2003 06:13:54 +0000

Update of /cvsroot/phpgroupware/projects/inc
In directory subversions:/tmp/cvs-serv29307/inc

Modified Files:
      Tag: Version-0_9_16-branch
        class.boprojects.inc.php 
Log Message:
Project - ab cooperation fixed


Index: class.boprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.boprojects.inc.php,v
retrieving revision 1.42.2.5.2.34
retrieving revision 1.42.2.5.2.35
diff -C2 -d -r1.42.2.5.2.34 -r1.42.2.5.2.35
*** class.boprojects.inc.php    23 Sep 2003 23:41:23 -0000      1.42.2.5.2.34
--- class.boprojects.inc.php    5 Oct 2003 06:13:52 -0000       1.42.2.5.2.35
***************
*** 192,198 ****
                        $account_id = 
$GLOBALS['phpgw_info']['user']['account_id'];
  
!                       $cols = 
array('per_first_name','per_last_name','org_name','contact_id');
! 
!                       $entries = $this->contacts->get_persons($cols, 
$limit='',$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'], 
$order, $sort, $criteria='');
                        //$entries = 
$this->contacts->read($start,$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'],
 $cols, $query, $qfilter, $sort, $order, $account_id);
                        $this->total_records = $this->contacts->total_records;
--- 192,200 ----
                        $account_id = 
$GLOBALS['phpgw_info']['user']['account_id'];
  
!                       $cols = array('contact_id', 
'per_first_name','per_last_name','org_name','people');
!                       $criteria = array('my_preferred' => 'Y');
!                       
!                       $entries = $this->contacts->get_persons($cols, 
$limit='',$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'], 
$order, $sort, $criteria);
!                       
                        //$entries = 
$this->contacts->read($start,$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'],
 $cols, $query, $qfilter, $sort, $order, $account_id);
                        $this->total_records = $this->contacts->total_records;
***************
*** 202,207 ****
                function read_single_contact($abid)
                {
!                       $cols = 
array('per_first_name','per_last_name','org_name','contact_id');
!                       return $this->contacts->get_persons($cols, 
$limit='',$maxmatchs='', $order='', 
$sort='',$criteria=array('contact_id'=>intval($abid)));
                        //return 
$this->contacts->read_single_entry($abid,$cols);
                }
--- 204,211 ----
                function read_single_contact($abid)
                {
!                       $cols = array('contact_id', 
'per_first_name','per_last_name','org_name','people');
!                       $criteria = array('contact_id' => intval($abid), 
'my_preferred' => 'Y');
! 
!                       return $this->contacts->get_persons($cols, 
$limit='',$maxmatchs='', $order='', $sort='',$criteria);
                        //return 
$this->contacts->read_single_entry($abid,$cols);
                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]