mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
check if post var dropfolderfileform1 is set
This commit is contained in:
parent
9690a77e28
commit
555214c8ed
|
@ -152,7 +152,7 @@ foreach ($res as $r){
|
|||
}
|
||||
|
||||
if($settings->_dropFolderDir) {
|
||||
if($_POST["dropfolderfileform1"]) {
|
||||
if(isset($_POST["dropfolderfileform1"]) && $_POST["dropfolderfileform1"]) {
|
||||
$fullfile = $settings->_dropFolderDir.'/'.$user->getLogin().'/'.$_POST["dropfolderfileform1"];
|
||||
if(file_exists($fullfile)) {
|
||||
/* Check if a local file is uploaded as well */
|
||||
|
|
Loading…
Reference in New Issue
Block a user