mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-01-01 21:30:41 +01:00
Merge branch 'develop' into 1.9
This commit is contained in:
@@ -2354,9 +2354,10 @@ class AdminController extends AdminBaseController
|
||||
$aPage->template($obj->template());
|
||||
$aPage->validate();
|
||||
$aPage->filter();
|
||||
$aPage->save();
|
||||
|
||||
$this->grav->fireEvent('onAdminAfterSave', new Event(['page' => $obj]));
|
||||
$this->grav->fireEvent('onAdminSave', new Event(['page' => &$aPage]));
|
||||
$aPage->save();
|
||||
$this->grav->fireEvent('onAdminAfterSave', new Event(['page' => $aPage]));
|
||||
}
|
||||
|
||||
$this->admin->setMessage($this->admin::translate('PLUGIN_ADMIN.SUCCESSFULLY_SWITCHED_LANGUAGE'), 'info');
|
||||
|
||||
Reference in New Issue
Block a user