fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15898]


From: nelson . guerra
Subject: [Fmsystem-commits] [15898]
Date: Wed, 26 Oct 2016 01:10:18 +0000 (UTC)

Revision: 15898
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15898
Author:   nelson224
Date:     2016-10-26 01:10:18 +0000 (Wed, 26 Oct 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-10-26 01:10:08 UTC (rev 15897)
+++ branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php    
2016-10-26 01:10:18 UTC (rev 15898)
@@ -141,8 +141,14 @@
                        }
                        
                        $import_component_files = new import_component_files();
-                       $receipt = $import_component_files->add_files($id, 
$location_code, $attrib_name_componentID);
                        
+                       if ($_FILES['file']['tmp_name'])
+                       {
+                               $receipt = 
$import_component_files->add_files_components($id, $location_code, 
$attrib_name_componentID);
+                       } else {
+                               $receipt = 
$import_component_files->add_files_location($id, $location_code);
+                       }
+                       
                        return $receipt;
                }
                




reply via email to

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