Skip to content

Commit

Permalink
Merge pull request #1292 from phalcon/#1234-model-generate-option-con…
Browse files Browse the repository at this point in the history
…fig-fix

#1234 - [Webtools] Model generation fix
  • Loading branch information
Jeckerson authored Apr 2, 2019
2 parents 2d751e6 + 7d07de2 commit 0ce87c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/Phalcon/Web/Tools/Controllers/ModelsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ public function generateAction()
'genSettersGetters' => $this->request->getPost('genSettersGetters', 'int'),
'namespace' => $this->request->getPost('namespace', 'string'),
'schema' => $this->request->getPost('schema', 'string'),
'mapColumn' => $this->request->getPost('mapcolumn', 'int')
'mapColumn' => $this->request->getPost('mapcolumn', 'int'),
'config' => $this->config,
]);

$modelBuilder->build();
Expand Down

0 comments on commit 0ce87c1

Please sign in to comment.