[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10610] property: check for file
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10610] property: check for file |
Date: |
Tue, 18 Dec 2012 14:21:28 +0000 |
Revision: 10610
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10610
Author: sigurdne
Date: 2012-12-18 14:21:28 +0000 (Tue, 18 Dec 2012)
Log Message:
-----------
property: check for file
Modified Paths:
--------------
trunk/property/inc/class.uicondition_survey.inc.php
Modified: trunk/property/inc/class.uicondition_survey.inc.php
===================================================================
--- trunk/property/inc/class.uicondition_survey.inc.php 2012-12-17 15:30:33 UTC
(rev 10609)
+++ trunk/property/inc/class.uicondition_survey.inc.php 2012-12-18 14:21:28 UTC
(rev 10610)
@@ -858,8 +858,13 @@
}
- if(!$cached_file =
phpgwapi_cache::session_get('property', 'condition_survey_import_file'))
+ if($step > 1)
{
+ $cached_file =
phpgwapi_cache::session_get('property', 'condition_survey_import_file');
+ }
+
+ if($step ==1 ||
isset($_FILES['import_file']['tmp_name']))
+ {
$file = $_FILES['import_file']['tmp_name'];
$cached_file ="{$file}_temporary_import_file";
// save a copy to survive multiple steps
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10610] property: check for file,
Sigurd Nes <=