diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-10-01 11:44:39 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-10-01 11:44:39 +0200 |
commit | 49738f0928632c3d2bdf0ff1381d18a7012ccc8d (patch) | |
tree | 29a3b203e0c95d101b20bccb8cacec49b537704b | |
parent | 8b5038befcccc29bdf8ea1f0f5745277e87e072f (diff) | |
parent | 54462b0f684be317c4c54ba566abd73bb03ea243 (diff) |
Merge pull request #226 from xzaara/patch-2
Fix error handling
-rw-r--r-- | plugins/password/password.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/password/password.php b/plugins/password/password.php index 0db57afc6..9239cd0b0 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -306,10 +306,10 @@ class password extends rcube_plugin switch ($result) { case PASSWORD_SUCCESS: return; - case PASSWORD_CRYPT_ERROR; + case PASSWORD_CRYPT_ERROR: $reason = $this->gettext('crypterror'); break; - case PASSWORD_CONNECT_ERROR; + case PASSWORD_CONNECT_ERROR: $reason = $this->gettext('connecterror'); break; case PASSWORD_ERROR: |