summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
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) {