summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-09-21 11:32:10 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-09-21 13:53:02 +0200
commit3d38163a81ce1e5921be690348b30a2f6db62837 (patch)
tree9f59debf7b6f18e9a56febdad0fef54eb59e85f4 /application/controllers
parentab58703f61b1d0573444e357840d38533fb1ee85 (diff)
Fix return checks for CI3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/User.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/User.php b/application/controllers/User.php
index 15eab1b2f..01e310a8f 100644
--- a/application/controllers/User.php
+++ b/application/controllers/User.php
@@ -302,15 +302,15 @@ class User extends MY_Controller {
$this->duser->require_implemented("can_reset_password");
$key = $this->uri->segment(3);
- if ($_SERVER["REQUEST_METHOD"] == "GET" && $key === false) {
+ if ($_SERVER["REQUEST_METHOD"] == "GET" && $key === null) {
return $this->_reset_password_username_form();
}
- if ($key === false) {
+ if ($key === null) {
return $this->_reset_password_send_mail();
}
- if ($key !== false) {
+ if ($key !== null) {
return $this->_reset_password_form();
}
}