diff --git a/notifications/inc/class.notifications_email.inc.php b/notifications/inc/class.notifications_email.inc.php index e4cd88fb76..670b09a822 100644 --- a/notifications/inc/class.notifications_email.inc.php +++ b/notifications/inc/class.notifications_email.inc.php @@ -74,6 +74,11 @@ class notifications_email implements notifications_iface { { $this->mail = new send(); } + else + { + unset($this->mail); + $this->mail = new send(); + } } /**