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

index adf3652..7105ab0 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++;