Skip to content

Commit

Permalink
Fix default field
Browse files Browse the repository at this point in the history
  • Loading branch information
almasaeed2010 committed Aug 22, 2017
1 parent 331dde3 commit 5394f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ protected function generate()
*/
protected function getFilesContent()
{
$type = $this->options->type ? strtolower($this->options->type) : 'tripal';
$type = $this->options->type ? strtolower($this->options->type) : 'chado';

$fields_stub = file_get_contents(__DIR__."/../stubs/{$type}_fields");
$class_stub = file_get_contents(__DIR__."/../stubs/{$type}_field_class");
Expand Down

0 comments on commit 5394f72

Please sign in to comment.