diff --git a/site/plugins/admin/app/Controllers/SnippetsController.php b/site/plugins/admin/app/Controllers/SnippetsController.php index 9a979618..fd4e7ea4 100644 --- a/site/plugins/admin/app/Controllers/SnippetsController.php +++ b/site/plugins/admin/app/Controllers/SnippetsController.php @@ -62,6 +62,7 @@ class SnippetsController extends Controller return $this->view->render($response, 'plugins/admin/views/templates/extends/snippets/edit.html', [ 'menu_item' => 'snippets', + 'id' => $request->getQueryParams()['id'], 'data' => $this->snippets->fetch($request->getQueryParams()['id']), 'links' => [ 'snippets' => [