From c4d3f6be51fcb5551ec60f212c208bbbbe8f215b Mon Sep 17 00:00:00 2001 From: conradverm Date: Wed, 20 Feb 2008 14:36:09 +0000 Subject: [PATCH] KTS-3044 "MD5 support list should show relative filenames and not absolute filenames" Fixed. --- lib/util/support.inc.php | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/util/support.inc.php b/lib/util/support.inc.php index 7e8b4a2..50c12b5 100644 --- a/lib/util/support.inc.php +++ b/lib/util/support.inc.php @@ -737,6 +737,10 @@ class SupportUtil private function get_index_contents($title, $path, $relative = true) { + if (!is_dir($path)) + { + return ''; + } $contents = array(); $dh = opendir($path); while (($filename = readdir($dh)) !== false) -- libgit2 0.21.4