diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-07-13 23:49:20 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-07-13 23:49:20 +0200 |
commit | 6b69fa8cc2c1ca138b949d7b3b2e638f69ee1afc (patch) | |
tree | 5f5525a6b753f20d363b7625f87af9021f72efc2 /application/controllers/user.php | |
parent | 7d745f0577ad7e660f2836729682c43ec4b39aeb (diff) |
Switch to bootstrap div form code instead of tables
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/user.php')
-rw-r--r-- | application/controllers/user.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |