From eea0f0d012700ba0ead0a1331f223632fa519071 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 11 Aug 2012 21:50:54 +0200
Subject: [PATCH] use $INPUT in inc/actions.php

---
 inc/actions.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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';
         }
 
-- 
GitLab