From 79de98cc5cd2da482136c4038df387257ead776d Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Date: Fri, 24 May 2013 17:16:09 +0530 Subject: [PATCH] Fix: news not displayed when tag is clicked Signed-off-by: Ajay Bhargav --- news.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/news.php b/news.php index 2738dc3b0..16f06a099 100644 --- a/news.php +++ b/news.php @@ -188,6 +188,7 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag'])) elseif(vartrue($_GET['tag'])) { $tagsearch = preg_replace('#[^a-zA-Z0-9\-]#','', $_GET['tag']); + if(!defined("NEWSLIST_LIMIT")) { define("NEWSLIST_LIMIT",10); } $query = " SELECT n.*, u.user_id, u.user_name, u.user_customtitle, nc.category_id, nc.category_name, nc.category_sef, nc.category_icon, nc.category_meta_keywords, nc.category_meta_description @@ -1072,4 +1073,4 @@ function setNewsFrontMeta($news, $type='news') } -?> \ No newline at end of file +?>