skip empty tags

dev
gravel 1 year ago
parent 44a47cad1d
commit 0e089c7c00
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -417,6 +417,7 @@
public function add_tags(array $tags) {
$new_string_tags = [];
foreach ($tags as $tag) {
if (strlen($tag) == 0) continue;
$this->string_tags[] = $tag;
if ($this->parse_language_tag($tag)) continue;
$new_string_tags[] = $tag;

Loading…
Cancel
Save