aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-21 00:25:26 +0000
committermistic100 <mistic@piwigo.org>2011-05-21 00:25:26 +0000
commitdaa0bdd09e41c17ca7abce451e9111ff038b1d1a (patch)
tree49ea042fde51012529cd1beb515c4f9ecc59dcd9 /admin/include/functions.php
parent5a1c5acb0eff6c2d641ae2df10ed3efe39a75553 (diff)
remplace FCBKcomplete by TokenInput
git-svn-id: http://piwigo.org/svn/trunk@10970 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions.php')
-rw-r--r--admin/include/functions.php5
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)
{