From 13ffa2810eaef30a0f69fc3af6ecbb5bc9dd0bdc Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 30 Sep 2010 07:10:03 +0000 Subject: - Added line number for error message --- program/include/rcmail.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 89a2ef6af..1b11ca3c5 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -520,8 +520,11 @@ class rcmail // support this parameter for backward compatibility but log warning if ($connect) { $this->imap_connect(); - raise_error(array('code' => 800, 'type' => 'imap', 'file' => __FILE__, - 'message' => "rcube::imap_init(true) is deprecated, use rcube::imap_connect() instead"), true, false); + raise_error(array( + 'code' => 800, 'type' => 'imap', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "rcube::imap_init(true) is deprecated, use rcube::imap_connect() instead"), + true, false); } } -- cgit v1.2.3