diff --git a/include/functions.php b/include/functions.php index 306014d96..018520648 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3450,6 +3450,8 @@ function format_article_labels($labels, $id) { + if (is_array($labels)) return ''; + $labels_str = ""; foreach ($labels as $l) {