Fill up title when creating a new page

This commit is contained in:
Matias Griese
2014-09-17 11:54:57 +03:00
parent a4415b317c
commit 20ceb2cabb
3 changed files with 9 additions and 8 deletions

View File

@@ -125,7 +125,7 @@ class AdminPlugin extends Plugin
if ($task) {
require_once __DIR__ . '/classes/controller.php';
$controller = new AdminController($this->grav, $this->template, $task, $this->route, $post);
$success = $controller->execute();
$controller->execute();
$controller->redirect();
} elseif ($this->template == 'logs' && $this->route) {
// Display RAW error message.