Skip to content
Snippets Groups Projects
Commit ee78f81c authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

update: better tag-related debugging info

parent 852d4ac8
No related branches found
No related tags found
No related merge requests found
...@@ -591,7 +591,7 @@ ...@@ -591,7 +591,7 @@
_debug("author $entry_author", $debug_enabled); _debug("author $entry_author", $debug_enabled);
_debug("num_comments: $num_comments", $debug_enabled); _debug("num_comments: $num_comments", $debug_enabled);
_debug("looking for tags [1]...", $debug_enabled); _debug("looking for tags...", $debug_enabled);
// parse <category> entries into tags // parse <category> entries into tags
...@@ -605,14 +605,13 @@ ...@@ -605,14 +605,13 @@
} }
} }
_debug("category tags:", $debug_enabled);
_debug("looking for tags [2]...", $debug_enabled);
$entry_tags = array_unique($additional_tags); $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'); $entry_tags[$i] = mb_strtolower($entry_tags[$i], 'utf-8');
_debug("tags found: " . join(",", $entry_tags), $debug_enabled);
_debug("done collecting data.", $debug_enabled); _debug("done collecting data.", $debug_enabled);
// TODO: less memory-hungry implementation // TODO: less memory-hungry implementation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment