Merge branch 'develop' into 1.9

This commit is contained in:
Andy Miller
2018-10-04 20:46:05 -06:00
2 changed files with 35 additions and 5 deletions

View File

@@ -362,6 +362,9 @@ class AdminPlugin extends Plugin
// Make local copy of POST.
$post = $this->grav['uri']->post();
// Initialize Page Types
Pages::types();
// Handle tasks.
$this->admin->task = $task = !empty($post['task']) ? $post['task'] : $this->uri->param('task');
if ($task) {