phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.contacts_sql.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.contacts_sql.inc.php
Date: Wed, 16 Aug 2006 15:02:31 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/08/16 15:02:31

Modified files:
        inc            : class.contacts_sql.inc.php 

Log message:
        patch #4890

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.contacts_sql.inc.php?cvsroot=phpgwapi&r1=1.27&r2=1.28

Patches:
Index: class.contacts_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.contacts_sql.inc.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- class.contacts_sql.inc.php  6 Aug 2006 04:51:25 -0000       1.27
+++ class.contacts_sql.inc.php  16 Aug 2006 15:02:31 -0000      1.28
@@ -6,7 +6,7 @@
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage contacts
-       * @version $Id: class.contacts_sql.inc.php,v 1.27 2006/08/06 04:51:25 
skwashd Exp $
+       * @version $Id: class.contacts_sql.inc.php,v 1.28 2006/08/16 15:02:31 
skwashd Exp $
        * @internal Development of this application was funded by 
http://www.sogrp.com
        */
 
@@ -1162,7 +1162,7 @@
                        $this->criteria(array('contact_id' => $contact_id));
                        if($get_org==True)
                        {
-                               $this->request(array('org_name', 'people'));
+                               $this->request(array('org_name', 'people', 
'org_id'));
                                $this->criteria(array('my_preferred' => 'Y'));
                        }
                        return $this->get_query($action, __LINE__, __FILE__);
@@ -1288,6 +1288,8 @@
                function get_people_by_organizations($organizations_id, 
$criteria='', $action=PHPGW_SQL_RUN_SQL)
                {                       
                        $data = array('my_person_id',
+                                       'per_first_name',
+                                       'per_last_name',
                                      'my_addr_id',
                                      'my_preferred');
                        $this->request($data);




reply via email to

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