format_article_labels: bail out if passed something other than array
This commit is contained in:
parent
5e3d5480f7
commit
76e087b017
|
@ -3450,6 +3450,8 @@
|
|||
|
||||
function format_article_labels($labels, $id) {
|
||||
|
||||
if (is_array($labels)) return '';
|
||||
|
||||
$labels_str = "";
|
||||
|
||||
foreach ($labels as $l) {
|
||||
|
|
Loading…
Reference in New Issue