Skip to content

Commit

Permalink
Fix for Page saving issues [#1648
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Apr 13, 2019
1 parent 2a4ebb1 commit 33c8422
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.9.1
## mm/dd/2019

1. [](#bugfix)
* Fix for Page saving issues [#1648](https://github.com/getgrav/grav-plugin-admin/issues/1648)

# v1.9.0
## 04/11/2019

Expand Down
3 changes: 3 additions & 0 deletions classes/admincontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,9 @@ protected function taskSavePage()
{
$reorder = true;

$data = (array)$this->data;
$this->grav['twig']->twig_vars['current_form_data'] = $data;

/** @var Pages $pages */
$pages = $this->grav['pages'];

Expand Down

0 comments on commit 33c8422

Please sign in to comment.