Skip to content

Commit

Permalink
Removing extra ; from generated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 17, 2009
1 parent ad3e5f4 commit 2ab3986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cake/console/libs/tasks/fixture.php
Expand Up @@ -166,7 +166,7 @@ function bake($model, $useTable = false, $importOptions = array()) {
if ($modelImport && $recordImport) {
$modelImport .= ', ';
}
$import = sprintf("array(%s%s);\n", $modelImport, $recordImport);
$import = sprintf("array(%s%s)", $modelImport, $recordImport);
}

$this->_Schema = new CakeSchema();
Expand Down
2 changes: 1 addition & 1 deletion cake/console/libs/templates/default/classes/fixture.ctp
Expand Up @@ -29,7 +29,7 @@ class <?php echo $model; ?>Fixture extends CakeTestFixture {
<?php endif; ?>
<?php if ($import): ?>
var $import = <?php echo $import; ?>;
<?php endif;?>
<?php endif; ?>

<?php if ($schema): ?>
var $fields = <?php echo $schema; ?>;
Expand Down

0 comments on commit 2ab3986

Please sign in to comment.