phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.bocommon.inc.php, 1.1.1.3


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.bocommon.inc.php, 1.1.1.3
Date: Tue, 25 May 2004 14:32:27 +0200

Update of /property/inc
Modified Files:
        Branch: 
          class.bocommon.inc.php

date: 2004/05/25 12:32:27;  author: sigurdne;  state: Exp;  lines: +11 -7

Log Message:
no message
=====================================================================
Index: property/inc/class.bocommon.inc.php
diff -u property/inc/class.bocommon.inc.php:1.1.1.2 
property/inc/class.bocommon.inc.php:1.1.1.3
--- property/inc/class.bocommon.inc.php:1.1.1.2 Thu May 13 18:08:01 2004
+++ property/inc/class.bocommon.inc.php Tue May 25 12:32:27 2004
@@ -785,6 +785,7 @@
                        $paranthesis            = 
(isset($data['paranthesis'])?$data['paranthesis']:'');
                        $lookup                         = 
(isset($data['lookup'])?$data['lookup']:'');
                        $location_level         = 
(isset($data['location_level'])?$data['location_level']:'');
+                       $no_address     = 
(isset($data['no_address'])?$data['no_address']:'');
 
                        $this->join = $this->socommon->join;
 
@@ -861,12 +862,15 @@
                                }
                        }
 
-                       $cols.= ",$entity_table.address";
-                       $cols_return[]                          = 'address';
-                       $uicols['input_type'][]         = 'text';
-                       $uicols['name'][]                       = 'address';
-                       $uicols['descr'][]                      = 
lang('address');
-                       $uicols['statustext'][]         = lang('address');
+                       if(!$no_address)
+                       {
+                               $cols.= ",$entity_table.address";
+                               $cols_return[]                          = 
'address';
+                               $uicols['input_type'][]         = 'text';
+                               $uicols['name'][]                       = 
'address';
+                               $uicols['descr'][]                      = 
lang('address');
+                               $uicols['statustext'][]         = 
lang('address');
+                       }
 
 
                        $config_count   = count($config);




reply via email to

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