aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/backend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-06-08 22:28:49 +0200
committerKevin Chabowski <kevin@kch42.de>2012-06-08 22:28:49 +0200
commitfb1b7e104b6dc672572a4467ff4337c50139a36e (patch)
tree167a2731668ff7bd9fcebc83c1df5517ecb8dcdd /ratatoeskr/backend.php
parent709fd51d0681fe28753205d24d2fea3ccee76672 (diff)
downloadratatoeskr-cms-fb1b7e104b6dc672572a4467ff4337c50139a36e.tar.gz
ratatoeskr-cms-fb1b7e104b6dc672572a4467ff4337c50139a36e.tar.bz2
ratatoeskr-cms-fb1b7e104b6dc672572a4467ff4337c50139a36e.zip
Tag::test_name implemented.
Diffstat (limited to 'ratatoeskr/backend.php')
-rw-r--r--ratatoeskr/backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php
index 8cc174d..f9d5f4d 100644
--- a/ratatoeskr/backend.php
+++ b/ratatoeskr/backend.php
@@ -434,7 +434,7 @@ $backend_subactions = url_action_subactions(array(
if(!empty($_POST["newtagname"]))
{
- if((strpos(@$_POST["new_tag_name"], ",") !== False) or (strpos(@$_POST["new_tag_name"], " ") !== False))
+ if(!Tag::test_name(@$_POST["newtagname"]))
$ste->vars["error"] = $translation["invalid_tag_name"];
else
$newtag = $_POST["newtagname"];