1
0
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:
Andrew Dolgov
2013-04-16 01:02:42 +04:00
parent 5e3d5480f7
commit 76e087b017

View File

@@ -3450,6 +3450,8 @@
function format_article_labels($labels, $id) {
if (is_array($labels)) return '';
$labels_str = "";
foreach ($labels as $l) {