From 373aba15e4a5e4f89a3726f0c49c74127af37313 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 20 Jun 2007 14:55:36 +0200 Subject: [PATCH] fixed problem with Ajax tag editing darcs-hash:20070620125536-6e07b-acdbf43e7a58997d857b7198d6e493517210ee4d.gz --- ajax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ''; -- 2.39.5