summaryrefslogtreecommitdiffstats
path: root/lib/class
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-19 15:11:56 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-19 15:11:56 +0000
commitfb1896c7bfddae74f474474bf03bf740b01453d8 (patch)
tree3994e9dc17aa1897613e57b20fae4d4d71da66ca /lib/class
parent8ed4195e450067975d6be5ff5588c5c228b538af (diff)
downloadampache-fb1896c7bfddae74f474474bf03bf740b01453d8.tar.gz
ampache-fb1896c7bfddae74f474474bf03bf740b01453d8.tar.bz2
ampache-fb1896c7bfddae74f474474bf03bf740b01453d8.zip
go ahead and allow spaces in the tags
Diffstat (limited to 'lib/class')
-rw-r--r--lib/class/tag.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/tag.class.php b/lib/class/tag.class.php
index 1e3ba1d0..a34a2586 100644
--- a/lib/class/tag.class.php
+++ b/lib/class/tag.class.php
@@ -346,7 +346,7 @@ return array();
*/
public static function clean_tag($value) {
- $tag = preg_replace("/[^\w\_\-]/","",$value);
+ $tag = preg_replace("/[^\w\_\-\s]/","",$value);
return $tag;