phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] addressbook/inc/export Multiple_VCard, 1.2.6.1, 1.2.6


From: Jonathan Rivera <address@hidden>
Subject: [Phpgroupware-cvs] addressbook/inc/export Multiple_VCard, 1.2.6.1, 1.2.6.2
Date: Mon, 03 Nov 2003 21:08:51 +0000

Update of /cvsroot/phpgroupware/addressbook/inc/export
In directory subversions:/tmp/cvs-serv11201/addressbook/inc/export

Modified Files:
      Tag: Version-0_9_16-branch
        Multiple_VCard 
Log Message:
Bugfix, error when no select category


Index: Multiple_VCard
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/export/Multiple_VCard,v
retrieving revision 1.2.6.1
retrieving revision 1.2.6.2
diff -C2 -d -r1.2.6.1 -r1.2.6.2
*** Multiple_VCard      3 Nov 2003 20:28:01 -0000       1.2.6.1
--- Multiple_VCard      3 Nov 2003 21:08:48 -0000       1.2.6.2
***************
*** 52,56 ****
                        else
                        {
!                               $tmp = 
$this->contacts->get_persons(array('person_id'));
                                //$filter = 'tid=n';
                        }
--- 52,63 ----
                        else
                        {
!                               $tmp_person = 
$this->contacts->get_persons(array('person_id'));
!                               if(is_array($tmp_person))
!                               {
!                                       foreach($tmp_person as $data)
!                                       {
!                                               $tmp[] = $data['person_id'];
!                                       }
!                               }
                                //$filter = 'tid=n';
                        }
***************
*** 61,65 ****
                                $this->ids[$i] = $tmp[$i];
                        }
!                       
                        /*
                           $ids is now an array of all id's for this user, e.g. 
$ids[0] = 21, etc...
--- 68,72 ----
                                $this->ids[$i] = $tmp[$i];
                        }
!                       //var_dump($this->ids);
                        /*
                           $ids is now an array of all id's for this user, e.g. 
$ids[0] = 21, etc...





reply via email to

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