From: flotsam <flotsam>
Date: Mon, 27 Jun 2005 12:10:32 +0000 (+0000)
Subject: fixed wrong display of "found X entries matching your search" in genpage.inc.php
X-Git-Tag: 0.9~384
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b6c4a65f459ed9055fa9a13eef6213824b09ce56;p=s9y.git

fixed wrong display of "found X entries matching your search" in genpage.inc.php
---

diff --git a/include/genpage.inc.php b/include/genpage.inc.php
index a0a90df..09d6c52 100644
--- a/include/genpage.inc.php
+++ b/include/genpage.inc.php
@@ -67,7 +67,7 @@ if ($serendipity['smarty_raw_mode']) {
 
             $serendipity['smarty']->assign(
                 array(
-                    'content_message'      => sprintf(YOUR_SEARCH_RETURNED_BLAHBLAH, $serendipity['GET']['searchTerm'], count($r)),
+                    'content_message'      => sprintf(YOUR_SEARCH_RETURNED_BLAHBLAH, $serendipity['GET']['searchTerm'], serendipity_getTotalEntries()),
                     'searchresult_results' => true
                 )
             );