aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/backend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-06-08 22:39:03 +0200
committerKevin Chabowski <kevin@kch42.de>2012-06-08 22:39:03 +0200
commit89ca548864ca262f7d58f4ddfaf92fc08cb3dca9 (patch)
treeecac2f359e0306a17ad3010b434c7a232a761071 /ratatoeskr/backend.php
parentfb1b7e104b6dc672572a4467ff4337c50139a36e (diff)
downloadratatoeskr-cms-89ca548864ca262f7d58f4ddfaf92fc08cb3dca9.tar.gz
ratatoeskr-cms-89ca548864ca262f7d58f4ddfaf92fc08cb3dca9.tar.bz2
ratatoeskr-cms-89ca548864ca262f7d58f4ddfaf92fc08cb3dca9.zip
Article::test_status 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 f9d5f4d..a6cc6f3 100644
--- a/ratatoeskr/backend.php
+++ b/ratatoeskr/backend.php
@@ -178,7 +178,7 @@ $backend_subactions = url_action_subactions(array(
$fail_reasons[] = $translation["invalid_urlname"];
else
$inputs["urlname"] = $_POST["urlname"];
- if((@$_POST["article_status"] < 0) or (@$_POST["article_status"] > 3))
+ if(!Article::test_status(@$_POST["article_status"]))
$fail_reasons[] = $translation["invalid_article_status"];
else
$inputs["article_status"] = (int) $_POST["article_status"];