diff options
author | alecpl <alec@alec.pl> | 2010-09-30 07:10:03 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-09-30 07:10:03 +0000 |
commit | 13ffa2810eaef30a0f69fc3af6ecbb5bc9dd0bdc (patch) | |
tree | 4cc55713972f1db517c8c106728d695dea257705 | |
parent | 33da0b48b343609a46e200afc814d75fba589057 (diff) |
- Added line number for error message
-rw-r--r-- | program/include/rcmail.php | 7 |
1 files changed, 5 insertions, 2 deletions
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); } } |