diff --git a/CHANGELOG.md b/CHANGELOG.md index affa9a803..4efa8332d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ -* **Build 21x** (2015-03-xx) +* **Build 222** (2015-03-11) - Form fields can now use a simpler interface for using the Input preset converter (see Backend > Forms docs). - The event `cms.page.init` no longer passes the URL as the third parameter, `$controller->getRouter()->getUrl()` should be used instead. + - `Page::url()` no longer takes a third argument for `$absolute`, generated URLs with this method are always absolute. * **Build 217** (2015-03-06) - Improvements made to the user menu in the back-end: clicking your avatar will display a popover with settings links from the `mysettings` context. diff --git a/modules/system/controllers/MailTemplates.php b/modules/system/controllers/MailTemplates.php index 01cb2abb8..735a66112 100644 --- a/modules/system/controllers/MailTemplates.php +++ b/modules/system/controllers/MailTemplates.php @@ -8,7 +8,6 @@ use Flash; use Backend; use Redirect; use BackendMenu; -use BackendAuth; use Backend\Classes\Controller; use System\Models\MailTemplate; use ApplicationException; @@ -57,7 +56,7 @@ class MailTemplates extends Controller { try { $model = $this->formFindModelObject($recordId); - $user = BackendAuth::getUser(); + $user = $this->user; Mail::sendTo([$user->email => $user->full_name], $model->code);