]> git.mjollnir.org Git - s9y.git/commitdiff
backport of 'fixed wrong display of "found X entries matching your search" in genpage...
authorflotsam <flotsam>
Wed, 29 Jun 2005 09:16:40 +0000 (09:16 +0000)
committerflotsam <flotsam>
Wed, 29 Jun 2005 09:16:40 +0000 (09:16 +0000)
include/genpage.inc.php

index 7ccfaccf1b5b774a7c96ce6bbdff722a0dd8ae34..30686e2b2e7d42b47bcf0f1ba13cca2da4d97dad 100644 (file)
@@ -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;