DataObjects/Events.php
authoredward <edward@roojs.com>
Tue, 16 Feb 2016 07:36:58 +0000 (15:36 +0800)
committeredward <edward@roojs.com>
Tue, 16 Feb 2016 07:36:58 +0000 (15:36 +0800)
DataObjects/Events.php

index 7105ab0..adf3652 100644 (file)
@@ -494,7 +494,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
         $i = 0;
         foreach ($_FILES as $k=>$f){
             // does not handle any other file[] arrary very well..
-            if (empty($f['tmp_name']) || !file_exists($f['tmp_name'])) {
+            if (empty($f['tmp_name']) || !@file_exists($f['tmp_name'])) {
                 continue;
             }
             $i++;