From 4b1fd236eb8a24304d7fbd8c49ca500626f095a7 Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Mon, 12 Feb 2018 20:12:43 -0500 Subject: [PATCH] Fix issue with FormGenerator --- CHANGELOG.md | 3 +++ src/Controller/ConfigManagerController.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55bc226..a0c43f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 2.0.3 +- Fix issue with FormGenerator + ## 2.0.2 - Fix assets bundle issue diff --git a/src/Controller/ConfigManagerController.php b/src/Controller/ConfigManagerController.php index 0b5aac0..0e9a225 100644 --- a/src/Controller/ConfigManagerController.php +++ b/src/Controller/ConfigManagerController.php @@ -80,7 +80,7 @@ public function displayMain($request, $response, $args){ // Create the form $config = $this->ci->config; - $form = new Form($schema, $config); + $form = new Form($schema, $config->all()); // The field names dot syntaxt won't make it across the HTTP POST request. // Wrap them in a nice `data` array