summaryrefslogtreecommitdiff
path: root/modules/backend-rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-12-07 10:27:34 +0100
committerAndrew Dolgov <[email protected]>2006-12-07 10:27:34 +0100
commitd62a3b6349e5bd5c7bf860e5c5a8a27b7aa1d89b (patch)
tree794d30c1e388c9fbbc9f72c90fb298d7ba81dd27 /modules/backend-rpc.php
parent3fd7138fc22de45e4be31568e8ff04883d221329 (diff)
add tag dropbox to tag editor
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r--modules/backend-rpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 3cba704e3..1a019af5b 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -210,7 +210,7 @@
$id = db_escape_string($_GET["id"]);
$tags_str = db_escape_string($_GET["tags_str"]);
- $tags = split(",", $tags_str);
+ $tags = array_unique(trim_array(split(",", $tags_str)));
db_query($link, "BEGIN");