projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
861947c
)
DataObjects/Events.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Feb 2013 12:51:45 +0000
(20:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Feb 2013 12:51:45 +0000
(20:51 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
978f1f0
..
9747bbb
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-396,6
+396,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
//var_dump($y->toExt('application/x-pdf'));
foreach ($_FILES as $k=>$f){
+ // does not handle any other file[] arrary very well..
if (empty($f['tmp_name']) || !file_exists($f['tmp_name'])) {
continue;
}