Aleksander Machniak
2013-09-03 b6be23ac4bb9ebe8fd90f347e3f209c2e0e5f24e
program/include/rcmail.php
@@ -954,7 +954,7 @@
    /**
     * 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;