From: flotsam Date: Wed, 29 Jun 2005 09:16:40 +0000 (+0000) Subject: backport of 'fixed wrong display of "found X entries matching your search" in genpage... X-Git-Tag: 0.8.2~2 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d420a87629eecd95d6821d3c3d60d4c543898366;p=s9y.git backport of 'fixed wrong display of "found X entries matching your search" in genpage.inc.php' to 0.8 --- 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;