summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2008-12-10 19:17:19 +0000
committerUrban Müller2008-12-10 19:17:19 +0000
commit665902b5377084e59b4c860b0ab053a00fa1dac4 (patch)
treeec2ead82076426c80d86b4cb3251ea2ff0b47fce
parentb2accf6655dce9584f3ea1485a22c58dcc9dd08f (diff)
downloaditools-665902b5377084e59b4c860b0ab053a00fa1dac4.tar.gz
itools-665902b5377084e59b4c860b0ab053a00fa1dac4.tar.bz2
itools-665902b5377084e59b4c860b0ab053a00fa1dac4.zip
comptiblity...
-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();
}
/**