Fix Validator::validateTags() not filtering empty tags

This commit is contained in:
Giuseppe Criscione 2019-03-25 22:16:30 +01:00
parent a99cca43cb
commit cc25553eeb

View File

@ -143,7 +143,7 @@ class Validator
return static::regex($item, $pattern);
});
}
return $tags;
return array_filter($tags);
}
/**