From 6710a636170c73162560c94629656ddde85c7fa8 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Mon, 05 Jan 2009 05:13:08 -0500 Subject: [PATCH] Add required parameters to raise_error() calls. --- program/steps/mail/sendmail.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 8e8d139..b065c2a 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -30,7 +30,7 @@ /****** checks ********/ if (!isset($_SESSION['compose']['id'])) { - raise_error(array('code' => 500, 'file' => __FILE__, 'message' => "Invalid compose ID"), true, false); + raise_error(array('code' => 500, 'type' => 'smtp', 'file' => __FILE__, 'message' => "Invalid compose ID"), true, false); console("Sendmail error", $_SESSION['compose']); $OUTPUT->show_message("An internal error occured. Please try again.", 'error'); $OUTPUT->send('iframe'); -- Gitblit v1.9.1