mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:25:54 +00:00
add a workaround to support numeric tags
This commit is contained in:
@@ -675,9 +675,13 @@ class RSSUtils {
|
||||
|
||||
$entry_tags = array_unique($additional_tags);
|
||||
|
||||
for ($i = 0; $i < count($entry_tags); $i++)
|
||||
for ($i = 0; $i < count($entry_tags); $i++) {
|
||||
$entry_tags[$i] = mb_strtolower($entry_tags[$i], 'utf-8');
|
||||
|
||||
// we don't support numeric tags, let's prefix them
|
||||
if (is_numeric($entry_tags[$i])) $entry_tags[$i] = 't:' . $entry_tags[$i];
|
||||
}
|
||||
|
||||
_debug("tags found: " . join(",", $entry_tags), $debug_enabled);
|
||||
|
||||
_debug("done collecting data.", $debug_enabled);
|
||||
|
||||
Reference in New Issue
Block a user