From 079173d26aec520ca3517715676f61f20c2f01ca Mon Sep 17 00:00:00 2001
From: Garvin Hicking <mail@garv.in>
Date: Fri, 27 Jun 2008 10:44:14 +0000
Subject: [PATCH] expose hide_category parameter to fetchPrintEntires

---
 include/functions_smarty.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/functions_smarty.inc.php b/include/functions_smarty.inc.php
index d902a845..3729dd13 100644
--- a/include/functions_smarty.inc.php
+++ b/include/functions_smarty.inc.php
@@ -165,7 +165,7 @@ function serendipity_ifRemember($name, $value, $isDefault = false, $att = 'check
 function serendipity_smarty_fetchPrintEntries($params, &$smarty) {
     global $serendipity;
     static $entrycount = 0;
-    static $restore_var_GET_keys = array('category', 'viewAuthor', 'page');
+    static $restore_var_GET_keys = array('category', 'viewAuthor', 'page', 'hide_category');
 
     // A counter variable to not assign template files multiple times
     $entrycount++;