tag filter action - block empty tags

master
Andrew Dolgov 18 years ago
parent 780fceac7b
commit df74052f1e

@ -762,7 +762,7 @@
$manual_tags = trim_array(split(",", $filter_param)); $manual_tags = trim_array(split(",", $filter_param));
foreach ($manual_tags as $tag) { foreach ($manual_tags as $tag) {
if (!preg_match("/^[0-9]*$/", $tag)) { if (!preg_match("/^[0-9]*$/", $tag) && $tag != '') {
array_push($entry_tags, $tag); array_push($entry_tags, $tag);
} }
} }

Loading…
Cancel
Save