From 3f1801ef2b4e59553a7f1da3c60c0716b105f0d8 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sun, 13 Jan 2013 13:46:59 +0000 Subject: [PATCH] Postfix comparison to check path Establish a stringExtra value of a slash or nothing depending on wether we are considering the root level or not When comparing the folder against the selectedFile array value, postfix both with a slash (could be any char though). This is to eliminate path mismatches. --- lib/multiple-results.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/multiple-results.php b/lib/multiple-results.php index b0dbae5..12b0e74 100644 --- a/lib/multiple-results.php +++ b/lib/multiple-results.php @@ -129,7 +129,8 @@ if (startTab!=top.ICEcoder.selectedTab) { } $findPath = str_replace($base,"",$fullPath); for ($i=0;$i