From c1762ef6c1facf23f20d05759edc2af7965bac75 Mon Sep 17 00:00:00 2001 From: dougk_ff7 Date: Sun, 31 Mar 2002 19:13:06 +0000 Subject: [PATCH] Fixing bug 536812: search.php - total_match_count Thanks acydburn! Not a big deal, just did what acydburn recommended. git-svn-id: file:///svn/phpbb/trunk@2455 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/search.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpBB/search.php b/phpBB/search.php index 84edb41c72..b621252738 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -1163,6 +1163,10 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id ) include($phpbb_root_path . 'includes/page_tail.'.$phpEx); } + else + { + message_die(GENERAL_MESSAGE, $lang['No_search_match']); + } } // @@ -1294,4 +1298,4 @@ $template->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?> \ No newline at end of file +?>