mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Fix: news not displayed when tag is clicked
Signed-off-by: Ajay Bhargav <bhargav.ajay@gmail.com>
This commit is contained in:
1
news.php
1
news.php
@@ -188,6 +188,7 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag']))
|
|||||||
elseif(vartrue($_GET['tag']))
|
elseif(vartrue($_GET['tag']))
|
||||||
{
|
{
|
||||||
$tagsearch = preg_replace('#[^a-zA-Z0-9\-]#','', $_GET['tag']);
|
$tagsearch = preg_replace('#[^a-zA-Z0-9\-]#','', $_GET['tag']);
|
||||||
|
if(!defined("NEWSLIST_LIMIT")) { define("NEWSLIST_LIMIT",10); }
|
||||||
$query = "
|
$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,
|
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
|
nc.category_meta_description
|
||||||
|
Reference in New Issue
Block a user