From 6b69fa8cc2c1ca138b949d7b3b2e638f69ee1afc Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 13 Jul 2013 23:49:20 +0200 Subject: Switch to bootstrap div form code instead of tables Signed-off-by: Florian Pritz --- application/controllers/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/controllers') diff --git a/application/controllers/user.php b/application/controllers/user.php index abbb846a3..42f9e35ae 100644 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -138,7 +138,7 @@ class User extends CI_Controller { $referrer = $query["user"]; - if ($process) { + if ($process !== false) { $username = $this->input->post("username"); $email = $this->input->post("email"); $password = $this->input->post("password"); @@ -390,7 +390,7 @@ class User extends CI_Controller { $this->data["hash"] = false; $this->data["password"] = $password; - if ($process) { + if ($process !== false) { if (!$password || $password != $password_confirm) { $error[]= "No password or passwords don't match."; } else { -- cgit v1.2.3-24-g4f1b