summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-run.php
diff options
context:
space:
mode:
Diffstat (limited to 'pts-core/functions/pts-functions-run.php')
-rw-r--r--pts-core/functions/pts-functions-run.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index efb3079..4c74cd2 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -449,6 +449,10 @@ function pts_promt_user_tags($default_tags = "")
{
$tags_input = preg_replace("/[^a-zA-Z0-9s, -]/", "", $tags_input);
}
+ else
+ {
+ $tags_input = pts_remove_chars($tags_input, true, true, true);
+ }
$tags_input = trim($tags_input);
}