From 665902b5377084e59b4c860b0ab053a00fa1dac4 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 10 Dec 2008 19:17:19 +0000 Subject: comptiblity... --- it.class | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'it.class') diff --git a/it.class b/it.class index 179ee75..28a473c 100644 --- a/it.class +++ b/it.class @@ -669,7 +669,7 @@ function map($expression, $array) /** * Send a mail. Expects array for Header => Content pairs with Body => for the mail body. - * @return nothing + * @return nothing useful */ function mail($p) { @@ -677,7 +677,8 @@ function mail($p) unset($p['Body']); $mail = new it_mail($p); $mail->add_body($body); - $mail->send(); + + return $mail->send(); } /** -- cgit v1.2.3