From 8fe57ad75ba55bc505ebcf97dffa3f3f2f2a8bb1 Mon Sep 17 00:00:00 2001 From: zone Date: Thu, 14 Jun 2001 00:50:48 +0000 Subject: [PATCH] Don't display non-existant directories in drop down list --- filemanager/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filemanager/index.php b/filemanager/index.php index 08762680ef..37bce6af72 100755 --- a/filemanager/index.php +++ b/filemanager/index.php @@ -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"]); }