summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-08-11 21:50:54 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-08-11 21:50:54 +0200
commiteea0f0d012700ba0ead0a1331f223632fa519071 (patch)
treec298549de1db2282c64e17c8b6dc3ac7690d725d /inc/actions.php
parentac7a515f564d088e043bf190c9a4ced1d5c309db (diff)
downloadrpg-eea0f0d012700ba0ead0a1331f223632fa519071.tar.gz
rpg-eea0f0d012700ba0ead0a1331f223632fa519071.tar.bz2
use $INPUT in inc/actions.php
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 4356662d7..62b0e1800 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -68,7 +68,7 @@ function act_dispatch(){
}
//register
- if($ACT == 'register' && $_POST['save'] && register()){
+ if($ACT == 'register' && $INPUT->post->bool('save') && register()){
$ACT = 'login';
}