From d420a87629eecd95d6821d3c3d60d4c543898366 Mon Sep 17 00:00:00 2001 From: flotsam Date: Wed, 29 Jun 2005 09:16:40 +0000 Subject: [PATCH] backport of 'fixed wrong display of "found X entries matching your search" in genpage.inc.php' to 0.8 --- include/genpage.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/genpage.inc.php b/include/genpage.inc.php index 7ccfacc..30686e2 100644 --- a/include/genpage.inc.php +++ b/include/genpage.inc.php @@ -50,7 +50,7 @@ if ($serendipity['smarty_raw_mode']) { break; } - $serendipity['smarty']->assign('content_message', sprintf(YOUR_SEARCH_RETURNED_BLAHBLAH, $serendipity['GET']['searchTerm'], count($r))); + $serendipity['smarty']->assign('content_message', sprintf(YOUR_SEARCH_RETURNED_BLAHBLAH, $serendipity['GET']['searchTerm'], serendipity_getTotalEntries())); serendipity_printEntries($r); break; -- 2.39.5