X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=ajax.php;h=eeacb17243ad5a809a837a48f4d209efcde7ef2f;hb=47b22054a954cdc50c09fa7a768fb6ad58cfab02;hp=7e16b2f362d974e83880650600bb9ebea1739c09;hpb=64fca63a29fb2a863d159734627795acfb17c853;p=contagged diff --git a/ajax.php b/ajax.php index 7e16b2f..eeacb17 100644 --- a/ajax.php +++ b/ajax.php @@ -88,9 +88,9 @@ function ajax_loadtags($dn,$type='plain'){ $entry = $result[0]; if($type == 'plain'){ - echo join(', ',$entry[$FIELDS['_marker']]); + echo join(', ',(array) $entry[$FIELDS['_marker']]); }else{ - foreach ($entry[$FIELDS['_marker']] as $tag){ + foreach ((array) $entry[$FIELDS['_marker']] as $tag){ echo '';