summaryrefslogtreecommitdiff
path: root/it_mail.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_mail.class')
-rw-r--r--it_mail.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class
index a407e54..1db36cb 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -61,7 +61,7 @@ class it_mail
* Note: Headers To, Cc, Bcc can be arrays
* @param $headers Array of headers for this email, e.g. From, To and Subject
*/
-function it_mail($headers = array())
+function __construct($headers = array())
{
$this->charset = ini_get('default_charset');