format_article_labels: bail out if passed something other than array

master
Andrew Dolgov 12 years ago
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…
Cancel
Save