From 2f8537173891a864efdfa09f5f56c70fe97c6399 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Wed, 29 May 2013 08:54:45 +0100 Subject: [PATCH] Need to global context to be usable --- lib/multiple-results.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/multiple-results.php b/lib/multiple-results.php index 218b5ec..c891eb7 100644 --- a/lib/multiple-results.php +++ b/lib/multiple-results.php @@ -113,7 +113,7 @@ if (startTab!=top.ICEcoder.selectedTab) { $r = 0; function phpGrep($q, $path, $base) { $fp = opendir($path); - global $r, $ICEcoder, $serverType, $selectedFiles; + global $r, $ICEcoder, $serverType, $selectedFiles, $context; if (!isset($ret)) {$ret="";}; $slash = $serverType == strpos($path,"\\")>-1 ? "\\" : "/"; while($f = readdir($fp)) {