Skip to content
Permalink
Browse files

Removing extra ; from generated code.

  • Loading branch information...
markstory committed Jul 17, 2009
1 parent ad3e5f4 commit 2ab3986d14843e46741923e1fe148ba101e2ab13
Showing with 2 additions and 2 deletions.
  1. +1 −1 cake/console/libs/tasks/fixture.php
  2. +1 −1 cake/console/libs/templates/default/classes/fixture.ctp
@@ -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();
@@ -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; ?>;

0 comments on commit 2ab3986

Please sign in to comment.
You can’t perform that action at this time.