phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] infolog/inc/class.bolink.inc.php, 1.20.2.9


From: nomail
Subject: [Phpgroupware-cvs] infolog/inc/class.bolink.inc.php, 1.20.2.9
Date: Mon, 30 Aug 2004 20:51:00 +0200

Update of /infolog/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.bolink.inc.php

date: 2004/08/30 18:51:00;  author: jarg;  state: Exp;  lines: +12 -12

Log Message:
bugfix #9650
=====================================================================
Index: infolog/inc/class.bolink.inc.php
diff -u infolog/inc/class.bolink.inc.php:1.20.2.8 
infolog/inc/class.bolink.inc.php:1.20.2.9
--- infolog/inc/class.bolink.inc.php:1.20.2.8   Mon Jun 28 17:50:06 2004
+++ infolog/inc/class.bolink.inc.php    Mon Aug 30 18:51:00 2004
@@ -881,20 +881,20 @@
                */
                function addressbook_title( $addr )
                {
-//                     if (!is_object($this->contacts))
-//                     {
-//                             $this->contacts = 
createobject('phpgwapi.contacts');
-//                     }
+                       if (!is_object($this->contacts))
+                       {
+                               $this->contacts = 
createobject('phpgwapi.contacts');
+                       }
+                       if (!is_array($addr))
+                       {
+                               //list( $addr ) = 
$this->contacts->read_single_entry( $addr );
+                               list( $addr ) = 
$this->contacts->get_principal_persons_data( $addr );
+                       }
+                       
 //                     if (!is_array($addr))
 //                     {
-//                             //list( $addr ) = 
$this->contacts->read_single_entry( $addr );
-//                             list( $addr ) = 
$this->contacts->get_principal_persons_data( $addr );
+//                             //return False;
 //                     }
-                       
-                       if (!is_array($addr))
-                       {
-                               return False;
-                       }
                        $name = $addr['per_last_name'];
                        if ($addr['per_first_name'])
                        {




reply via email to

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