From 924919fb6f5424e04ec8b614b82e27222cfbb20b Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Wed, 19 Sep 2012 08:40:37 +0100 Subject: [PATCH] No need for if condition now You can only see multiple results if logged in, so no need for this if condition --- lib/multiple-results.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/multiple-results.php b/lib/multiple-results.php index 8bd5501..3b60e83 100644 --- a/lib/multiple-results.php +++ b/lib/multiple-results.php @@ -103,10 +103,8 @@ if (startTab!=top.ICEcoder.selectedTab) { } else if(stristr(file_get_contents($fullPath), $q)) { $rFile = false; $bFile = false; - if (!$_SESSION['loggedIn']) { - for ($i=0;$i0) {$rFile = true;}; - } + for ($i=0;$i0) {$rFile = true;}; } for ($i=0;$i0) {$bFile = true;};