Skip to content

Commit

Permalink
Fix: EMail Notification did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGausi committed Jun 22, 2019
1 parent 9202870 commit ab074ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/contao/modules/ModuleEventEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace DanielGausi\CalendarEditorBundle;


use Contao;
use Contao\Calendar;
use Contao\CalendarModel;
use Contao\Events;
Expand Down Expand Up @@ -1313,7 +1313,7 @@ protected function HandleClone($currentEventObject) {


protected function SendNotificationMail($NewEventData, $editID, $User, $cloneDates) {
$Notification = new Email();
$Notification = new \Contao\Email();
$Notification->from = $GLOBALS['TL_ADMIN_EMAIL'];

$host = $this->Environment->host;
Expand Down

0 comments on commit ab074ae

Please sign in to comment.