mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
fix error message if the import object is not a folder but a file
This commit is contained in:
parent
db53cc518a
commit
ea5425a669
|
@ -25,7 +25,7 @@ if (empty($_GET["dropfolderfileform1"])) {
|
|||
}
|
||||
$dirname = $settings->_dropFolderDir.'/'.$user->getLogin()."/".$_GET["dropfolderfileform1"];
|
||||
if(!is_dir($dirname)) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("invalid_target_folder"));
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("invalid_dropfolder_folder"));
|
||||
}
|
||||
|
||||
function import_folder($dirname, $folder) { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user