diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-09-02 11:47:32 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-09-02 11:47:32 +0200 |
commit | 0f5574913f98518d77fb519d5b00b2d069571ac5 (patch) | |
tree | 1c178d8d63bac66508f51fd0cda020d784fc826d /program/include/rcmail.php | |
parent | 060467df9d95be3768dab51ff5dd4e6214ec86a0 (diff) |
Fix "PHP Warning: Missing argument 1 for rcmail::log_login()"
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 1c9f3dd9c..02287d312 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -954,7 +954,7 @@ class rcmail extends rcube /** * Write login data (name, ID, IP address) to the 'userlogins' log file. */ - public function log_login($user, $failed_login = false, $error_code = 0) + public function log_login($user = null, $failed_login = false, $error_code = 0) { if (!$this->config->get('log_logins')) { return; |