phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php [Version-


From: Dave Hall
Subject: [Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php [Version-0_9_16-branch]
Date: Fri, 04 May 2007 13:35:25 +0000

CVSROOT:        /sources/phpgroupware
Module name:    addressbook
Branch:         Version-0_9_16-branch
Changes by:     Dave Hall <skwashd>     07/05/04 13:35:25

Modified files:
        inc            : class.uiaddressbook.inc.php 

Log message:
        remove extra bracket as outlined in thread on forum - 
http://forums.phpgroupware.org/index.php?t=msg&th=969

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/class.uiaddressbook.inc.php?cvsroot=phpgroupware&only_with_tag=Version-0_9_16-branch&r1=1.36.2.15.2.63&r2=1.36.2.15.2.64

Patches:
Index: class.uiaddressbook.inc.php
===================================================================
RCS file: /sources/phpgroupware/addressbook/inc/class.uiaddressbook.inc.php,v
retrieving revision 1.36.2.15.2.63
retrieving revision 1.36.2.15.2.64
diff -u -b -r1.36.2.15.2.63 -r1.36.2.15.2.64
--- class.uiaddressbook.inc.php 24 Oct 2006 13:51:18 -0000      1.36.2.15.2.63
+++ class.uiaddressbook.inc.php 4 May 2007 13:35:25 -0000       1.36.2.15.2.64
@@ -12,7 +12,7 @@
   *  option) any later version.                                              *
   \**************************************************************************/
 
-  /* $Id: class.uiaddressbook.inc.php,v 1.36.2.15.2.63 2006/10/24 13:51:18 
skwashd Exp $ */
+  /* $Id: class.uiaddressbook.inc.php,v 1.36.2.15.2.64 2007/05/04 13:35:25 
skwashd Exp $ */
 
 
        class uiaddressbook
@@ -461,7 +461,7 @@
 
                                /* each entry column */
                                @reset($all_cols_to_display);
-                               while ($column = each(($all_cols_to_display)))
+                               while (is_array($all_cols_to_display) && 
$column = each($all_cols_to_display) )
                                {
                                        $ref = $data='';
                                        $coldata = $entry[$column[key]];
@@ -1189,7 +1189,7 @@
                        $userformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
                        if($userformat != $this->bo->bday_internformat)
                        {
-                               $datetime = CreateObject("phpgwapi.datetime");
+                               $datetime = 
CreateObject("phpgwapi.phpgw_datetime");
                                $fields['per_birthday'] = 
$datetime->convertDate($fields['per_birthday'], $this->bo->bday_internformat, 
$userformat);
                        }
                        $bday = 
$this->jscal->input('entry[per_birthday]',$fields['per_birthday']);
@@ -2099,7 +2099,7 @@
                                $userformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
                                if($userformat != $this->bo->bday_internformat)
                                {
-                                       $datetime = 
CreateObject("phpgwapi.datetime");
+                                       $datetime = 
CreateObject("phpgwapi.phpgw_datetime");
                                        $entry['per_birthday'] = 
$datetime->convertDate($entry['per_birthday'], $userformat, 
$this->bo->bday_internformat);
                                }
 
@@ -2749,7 +2749,7 @@
                                $userformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
                                if($userformat != $this->bo->bday_internformat)
                                {
-                                       $datetime = 
CreateObject("phpgwapi.datetime");
+                                       $datetime = 
CreateObject("phpgwapi.phpgw_datetime");
                                        $contacts['per_birthday'] = 
$datetime->convertDate($contacts['per_birthday'], $this->bo->bday_internformat, 
$userformat);
                                }
                        }




reply via email to

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