mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 03:16:11 +01:00
Fix issue with validating page when switching language #963
This commit is contained in:
@@ -1993,6 +1993,7 @@ class AdminController extends AdminBaseController
|
||||
$aPage->init(new \SplFileInfo($path), $language . '.md');
|
||||
$aPage->header($obj->header());
|
||||
$aPage->rawMarkdown($obj->rawMarkdown());
|
||||
$aPage->template($obj->template());
|
||||
$aPage->validate();
|
||||
$aPage->filter();
|
||||
$aPage->save();
|
||||
|
||||
Reference in New Issue
Block a user