From 07a6a8788a9fda1b64dd5e8dfad54b73dead0cd5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 16 Nov 2005 06:32:52 +0000 Subject: [PATCH] r567: Make search modes simpler --- search.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/search.php b/search.php index 4fcaebe..b07cd5d 100644 --- a/search.php +++ b/search.php @@ -29,9 +29,9 @@ if (!can_perform('cansearch')) } define('MODE', intval($bugsys->in['mode'])); -define('MODE_ANY', ((MODE == 1) ? 1 : 0)); -define('MODE_ALL', ((MODE == 2) ? 1 : 0)); -define('MODE_RAW', ((MODE == 3) ? 1 : 0)); +define('MODE_ANY', (MODE == 1)); +define('MODE_ALL', (MODE == 2)); +define('MODE_RAW', (MODE == 3)); define('SEARCH_WORD_MIN', 3); -- 2.43.5