Skip to content

Commit

Permalink
fixing bug in the bake templates where fields are not correctly set
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Oct 13, 2012
1 parent 0da4d44 commit 4053f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Libs/Console/Templates/infinitas/views/index.ctp
Expand Up @@ -48,7 +48,7 @@

foreach($fields as $field) {
$check = $schema[$field]['type'] == 'text' || (
in_array('created', $fields) && in_array('modified', $fields)
$field == 'created' && in_array('modifeid', $fields)
);
if ($check) {
$ignore[] = $field;
Expand Down

0 comments on commit 4053f44

Please sign in to comment.