mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Don't display non-existant directories in drop down list
This commit is contained in:
parent
d2b718acc4
commit
8fe57ad75b
@ -670,10 +670,10 @@ if (!$op && !$delete && !$createdir && !$renamefiles && !$move && !$copy && !$ed
|
||||
}
|
||||
|
||||
###
|
||||
# No point in displaying the current directory
|
||||
# No point in displaying the current directory, or a directory that doesn't exist
|
||||
###
|
||||
|
||||
if (($dir["directory"] . $dir["name"]) != $path)
|
||||
if ((($dir["directory"] . $dir["name"]) != $path) && $phpgw->vfs->file_exists ($dir["directory"] . $dir["name"], array (RELATIVE_NONE)))
|
||||
{
|
||||
html_form_option ($dir["directory"] . $dir["name"]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user