projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20f801
)
DataObjects/Events.php
author
Alan
<alan@roojs.com>
Wed, 9 Feb 2022 05:08:38 +0000
(13:08 +0800)
committer
Alan
<alan@roojs.com>
Wed, 9 Feb 2022 05:08:38 +0000
(13:08 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
c863963
..
a04484c
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-555,10
+555,11
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$i=0;
- $files = self::$files;
+ $files = array();
+
- $i = 0;
- foreach (
$_FILES
as $k=>$f){
+
+ foreach (
array_merge($_FILES, self::$files)
as $k=>$f){
// does not handle any other file[] arrary very well..
if (empty($f['tmp_name']) || !file_exists($f['tmp_name'])) {
continue;