mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
check if exists
This commit is contained in:
parent
9a0992751d
commit
3a4220fe18
|
@ -261,7 +261,7 @@ function reArrayFiles(&$file_post) {
|
||||||
return $file_ary;
|
return $file_ary;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_FILES['userfile']) {
|
if(!empty($_FILES['userfile'])) {
|
||||||
$file_ary = reArrayFiles($_FILES['userfile']);
|
$file_ary = reArrayFiles($_FILES['userfile']);
|
||||||
} else {
|
} else {
|
||||||
$file_ary = array();
|
$file_ary = array();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user