From dfbc2adc089818fba1c08d87c7fb491e2a2a04b6 Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Sun, 7 Sep 2014 22:39:22 +0200 Subject: [PATCH] [ticket/13022] Remove ternary condition PHPBB3-13022 --- phpBB/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/search.php b/phpBB/search.php index 3cf8cf176b..13f20fb72d 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -602,7 +602,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) 'PHRASE_SEARCH_DISABLED' => $phrase_search_disabled, - 'REFERER_IS_SEARCH' => (strpos($user->referer, "search.$phpEx") !== false) ? true : false, + 'REFERER_IS_SEARCH' => strpos($user->referer, "search.$phpEx") !== false, 'TOTAL_MATCHES' => $total_match_count, 'SEARCH_IN_RESULTS' => ($search_id) ? false : true,