From df74052f1e93435b50233ce33d1f4fd27e795690 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Dec 2006 08:47:15 +0100 Subject: [PATCH] tag filter action - block empty tags --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index dbc43235..a65a1a00 100644 --- a/functions.php +++ b/functions.php @@ -762,7 +762,7 @@ $manual_tags = trim_array(split(",", $filter_param)); foreach ($manual_tags as $tag) { - if (!preg_match("/^[0-9]*$/", $tag)) { + if (!preg_match("/^[0-9]*$/", $tag) && $tag != '') { array_push($entry_tags, $tag); } } -- 2.39.5