mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13022] Remove ternary condition
PHPBB3-13022
This commit is contained in:
parent
1094de49c2
commit
dfbc2adc08
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue