summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class5
1 files changed, 3 insertions, 2 deletions
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();
}
/**