diff options
author | Andrew Dolgov <[email protected]> | 2006-12-08 08:47:15 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-12-08 08:47:15 +0100 |
commit | df74052f1e93435b50233ce33d1f4fd27e795690 (patch) | |
tree | 372e3dc3b01f50f1b554d6b5a605ca466cc23923 /functions.php | |
parent | 780fceac7b2854c3efb7d0a58a9fd9e141007d8d (diff) |
tag filter action - block empty tags
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index dbc432358..a65a1a009 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); } } |