[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15907]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [15907] |
Date: |
Fri, 28 Oct 2016 02:01:06 +0000 (UTC) |
Revision: 15907
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15907
Author: nelson224
Date: 2016-10-28 02:01:06 +0000 (Fri, 28 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-28 02:00:42 UTC (rev 15906)
+++ branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php
2016-10-28 02:01:06 UTC (rev 15907)
@@ -129,11 +129,15 @@
$id = phpgw::get_var('location_item_id');
$attrib_name_componentID =
phpgw::get_var('attribute_name_component_id');
- if (!$attrib_name_componentID)
+ if ($_FILES['file']['tmp_name'])
{
- $receipt['error'][] = array('msg' =>
lang('Choose attribute name for Component ID'));
- return $receipt;
+ if (!$attrib_name_componentID)
+ {
+ $receipt['error'][] = array('msg' =>
lang('Choose attribute name for Component ID'));
+ return $receipt;
+ }
}
+
if (!$location_code)
{
$receipt['error'][] = array('msg' =>
lang('Choose Location'));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15907],
nelson . guerra <=