[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.bocommon.inc.php, 1.1.1.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.bocommon.inc.php, 1.1.1.7 |
Date: |
Mon, 31 May 2004 22:39:09 +0200 |
Update of /property/inc
Modified Files:
Branch:
class.bocommon.inc.php
date: 2004/05/31 20:39:09; author: sigurdne; state: Exp; lines: +12 -2
Log Message:
no message
=====================================================================
Index: property/inc/class.bocommon.inc.php
diff -u property/inc/class.bocommon.inc.php:1.1.1.6
property/inc/class.bocommon.inc.php:1.1.1.7
--- property/inc/class.bocommon.inc.php:1.1.1.6 Mon May 31 18:36:35 2004
+++ property/inc/class.bocommon.inc.php Mon May 31 20:39:09 2004
@@ -532,7 +532,17 @@
if($data['vendor_id'] && !$data['vendor_name'])
{
$vendor_data
= $contacts->read_single(array('actor_id'=>$data['vendor_id']));
- $vendor['value_vendor_name'] =
$vendor_data['org_name'];
+ if(is_array($vendor_data))
+ {
+ foreach($vendor_data['attributes'] as
$attribute)
+ {
+
if($attribute['name']=='org_name')
+ {
+
$vendor['value_vendor_name']=$attribute['value'];
+ break;
+ }
+ }
+ }
}
$vendor['vendor_link']
=
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uilookup.vendor');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.bocommon.inc.php, 1.1.1.7,
nomail <=