phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.soactor.inc.php, 1.4.2.8


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.soactor.inc.php, 1.4.2.8
Date: Mon, 27 Dec 2004 14:58:53 +0100

Update of /property/inc
Modified Files:
        Branch: proposed-0_9_18-branch
          class.soactor.inc.php

date: 2004/12/27 13:58:53;  author: sigurdne;  state: Exp;  lines: +9 -2

Log Message:
no message
=====================================================================
Index: property/inc/class.soactor.inc.php
diff -u property/inc/class.soactor.inc.php:1.4.2.7 
property/inc/class.soactor.inc.php:1.4.2.8
--- property/inc/class.soactor.inc.php:1.4.2.7  Tue Dec  7 09:04:28 2004
+++ property/inc/class.soactor.inc.php  Mon Dec 27 13:58:53 2004
@@ -302,6 +302,13 @@
                                                
$actor_list[$j][$cols_return_extra[$i]['name']] = $this->db2->f('org_name');
 */
                                        }
+                                       
elseif($cols_return_extra[$i]['datatype']=='VENDOR' && $value):
+                                       {
+                                               $sql="SELECT org_name FROM 
fm_vendor where id=$value";
+                                               $this->db2->query($sql);
+                                               $this->db2->next_record();
+                                               
$actor_list[$j][$cols_return_extra[$i]['name']] = $this->db2->f('org_name');
+                                       }
                                        
elseif($cols_return_extra[$i]['datatype']=='CH' && $value):
                                        {
                                                $ch= unserialize($value);
@@ -461,7 +468,7 @@
                        {
                                foreach($values_attribute as $entry)
                                {
-                                       if($entry['datatype']!='AB')
+                                       if($entry['datatype']!='AB' && 
$entry['datatype']!='VENDOR')
                                        {
                                                $value_set[$entry['name']]      
= $entry['value'];
                                        }




reply via email to

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