mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-31 13:31:29 +00:00
format_article_labels: bail out if passed something other than array
This commit is contained in:
@@ -3450,6 +3450,8 @@
|
||||
|
||||
function format_article_labels($labels, $id) {
|
||||
|
||||
if (is_array($labels)) return '';
|
||||
|
||||
$labels_str = "";
|
||||
|
||||
foreach ($labels as $l) {
|
||||
|
||||
Reference in New Issue
Block a user