* Build 222
This commit is contained in:
parent
fbe755c119
commit
0433720a11
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue