projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bd98f
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Wed, 17 Oct 2012 10:03:19 +0000
(18:03 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 17 Oct 2012 10:03:19 +0000
(18:03 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
16406da
..
426e87b
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-428,7
+428,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$i=0;
$files = array();
foreach ($_FILES as $k=>$f){
- if (empty($f['tmp_name'])) {
+ if (empty($f['tmp_name'])
|| !file_exists($f['tmp_name'])
) {
continue;
}
$i++;