fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15633]


From: nelson . guerra
Subject: [Fmsystem-commits] [15633]
Date: Fri, 9 Sep 2016 01:22:17 +0000 (UTC)

Revision: 15633
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15633
Author:   nelson224
Date:     2016-09-09 01:22:17 +0000 (Fri, 09 Sep 2016)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php

Modified: 
branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php
===================================================================
--- branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php    
2016-09-08 23:24:39 UTC (rev 15632)
+++ branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php    
2016-09-09 01:22:17 UTC (rev 15633)
@@ -520,15 +520,17 @@
                                                }
                                        }
                                }
-                               /*
+                               
                                //$buildingpart_in_table = array();
                //$buildingpart_in_table['216'] = array('entity_id' => 3, 
'cat_id' => 6);               
-               //print_r($buildingpart_in_table); die;*/
-                               
+                                               
                                if (count($buildingpart_in_table))
                                {
                                        $receipt = 
$import_components->add_attributes_to_categories($buildingpart_in_table, 
$template_id);
-                                       print_r($receipt); die;
+                                       if ($receipt['error'])
+                                       {
+                                               print_r($receipt); die;
+                                       }
                                }
                                
                                if (count($buildingpart_out_table))
@@ -557,7 +559,7 @@
 
                                $receipt = 
$import_components->add_bim_item($import_data, $location_code);
                        
-                               return $this->jquery_results($receipt);
+                               print_r($receipt); die;
                        }
                }
                




reply via email to

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