fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7202] catch: more on postprocessing


From: Sigurd Nes
Subject: [Fmsystem-commits] [7202] catch: more on postprocessing
Date: Sun, 10 Apr 2011 17:06:22 +0000

Revision: 7202
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7202
Author:   sigurdne
Date:     2011-04-10 17:06:22 +0000 (Sun, 10 Apr 2011)
Log Message:
-----------
catch: more on postprocessing

Modified Paths:
--------------
    trunk/catch/inc/custom/default/update_location_at_record_nlsh.php

Modified: trunk/catch/inc/custom/default/update_location_at_record_nlsh.php
===================================================================
--- trunk/catch/inc/custom/default/update_location_at_record_nlsh.php   
2011-04-08 12:09:03 UTC (rev 7201)
+++ trunk/catch/inc/custom/default/update_location_at_record_nlsh.php   
2011-04-10 17:06:22 UTC (rev 7202)
@@ -37,9 +37,10 @@
                                $p_cat_id = $origin_arr[3];
                                if($origin_table)
                                {
-                                       $this->db2->query("SELECT location_code 
FROM {$origin_table} WHERE num = '{$target_id}'",__LINE__,__FILE__);
+                                       $this->db2->query("SELECT 
location_code, address FROM {$origin_table} WHERE num = 
'{$target_id}'",__LINE__,__FILE__);
                                        $this->db2->next_record();
                                        $origin_location_code           = 
$this->db2->f('location_code');
+                                       $origin_address                         
= $this->db2->f('address');
                                        $value_set['location_code'] = 
$origin_location_code;
                                        $value_set['p_num']             = 
$target_id;
                                        $value_set['p_entity_id']       = 
$p_entity_id;
@@ -54,6 +55,7 @@
                                                        $j++;
                                                }
                                        }
+                                       $value_set['address']   = 
$origin_address;
                                }
                        }
                        else




reply via email to

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