tag filter action - block empty tags

This commit is contained in:
Andrew Dolgov 2006-12-08 08:47:15 +01:00
parent 780fceac7b
commit df74052f1e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}