diff options
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index edc09048e..8095daf0f 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -2106,8 +2106,8 @@ function get_fckb_taglist($query) array_push( $taglist, array( - 'key' => $row['tag_name'], - 'value' => '~~'.$row['tag_id'].'~~', + 'name' => $row['tag_name'], + 'id' => '~~'.$row['tag_id'].'~~', ) ); } @@ -2123,6 +2123,7 @@ function get_fckb_tag_ids($raw_tags) // or "1234" (numeric characters only) $tag_ids = array(); + $raw_tags = explode(',',$raw_tags); foreach ($raw_tags as $raw_tag) { |