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