1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00
This commit is contained in:
Cameron
2016-04-30 12:00:19 -07:00
parent f359e9963e
commit d3383a71b6

View File

@@ -251,7 +251,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 = e107::getParser()->filter($_GET['tag']);
$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,