From b6be23ac4bb9ebe8fd90f347e3f209c2e0e5f24e Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 03 Sep 2013 09:16:17 -0400
Subject: [PATCH] Fix issue where too big message data was stored in cache causing sql errors (#1489316)
---
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 1c9f3dd..02287d3 100644
--- a/program/include/rcmail.php
+++ b/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;
--
Gitblit v1.9.1