tag filter action - block empty tags
This commit is contained in:
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…
Reference in New Issue