phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.bolocation.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.bolocation.inc.php
Date: Fri, 16 Mar 2007 14:31:11 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   07/03/16 14:31:11

Modified files:
        inc            : class.bolocation.inc.php 

Log message:
        Keep value from post

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.bolocation.inc.php?cvsroot=phpgroupware&r1=1.31&r2=1.32

Patches:
Index: class.bolocation.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.bolocation.inc.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- class.bolocation.inc.php    19 Feb 2007 21:02:41 -0000      1.31
+++ class.bolocation.inc.php    16 Mar 2007 14:31:10 -0000      1.32
@@ -24,7 +24,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage location
-       * @version $Id: class.bolocation.inc.php,v 1.31 2007/02/19 21:02:41 
sigurdne Exp $
+       * @version $Id: class.bolocation.inc.php,v 1.32 2007/03/16 14:31:10 
sigurdne Exp $
        */
 
        /**
@@ -568,7 +568,7 @@
                                {
                                        
$tenant_data=$this->bocommon->read_single_tenant($extra['tenant_id']);
                                        $location_data['tenant_id']             
= $extra['tenant_id'];
-                                       $location_data['contact_phone'] = 
$tenant_data['contact_phone'];
+                                       $location_data['contact_phone'] = 
$extra['contact_phone']?$extra['contact_phone']:$tenant_data['contact_phone'];
                                        $location_data['last_name']             
= $tenant_data['last_name'];
                                        $location_data['first_name']    = 
$tenant_data['first_name'];
                                }




reply via email to

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