summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-23 10:43:40 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-23 10:43:40 -0700
commit913d63b1a0cf45922639f43159027e7221344b73 (patch)
tree60e4f40654390204ccb7f6b260618e5127bfee45 /modules/tag/helpers
parent1fbdf1a1e00a176686b051bb932d998ad683b2be (diff)
parent070884d9e248ba692e49949851099e4d79285ef2 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php
index d13d1340..e1ab1b73 100644
--- a/modules/tag/helpers/tag_event.php
+++ b/modules/tag/helpers/tag_event.php
@@ -74,7 +74,7 @@ class tag_event_Core {
tag::clear_all($item);
foreach (preg_split("/[,;]/", $form->edit_item->tags->value) as $tag_name) {
if ($tag_name) {
- tag::add($item, $tag_name);
+ tag::add($item, str_replace(" ", ".", $tag_name));
}
}
tag::compact();