[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10606] property: check for entity to copy from
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10606] property: check for entity to copy from |
Date: |
Mon, 17 Dec 2012 13:28:28 +0000 |
Revision: 10606
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10606
Author: sigurdne
Date: 2012-12-17 13:28:26 +0000 (Mon, 17 Dec 2012)
Log Message:
-----------
property: check for entity to copy from
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 13:25:43 UTC
(rev 10605)
+++ trunk/property/inc/class.uicondition_survey.inc.php 2012-12-17 13:28:26 UTC
(rev 10606)
@@ -752,6 +752,12 @@
if($file_name)
{
+ if(!is_file($_FILES['file']['tmp_name']))
+ {
+
phpgwapi_cache::message_set(lang('Failed to upload file !'), 'error');
+ return;
+ }
+
$to_file = $bofiles->fakebase .
'/condition_survey/' . $id . '/' . $file_name;
if($bofiles->vfs->file_exists(array(
'string' => $to_file,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10606] property: check for entity to copy from,
Sigurd Nes <=