mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #998 from dereuromark/2.3-bake-fixture-fix
Remove double semicolon in generated fixtures. Fixes #3429
This commit is contained in:
commit
5ccba463bc
1 changed files with 2 additions and 2 deletions
|
@ -279,8 +279,8 @@ class FixtureTask extends BakeTask {
|
||||||
* @return string fields definitions
|
* @return string fields definitions
|
||||||
*/
|
*/
|
||||||
protected function _generateSchema($tableInfo) {
|
protected function _generateSchema($tableInfo) {
|
||||||
$schema = $this->_Schema->generateTable('f', $tableInfo);
|
$schema = trim($this->_Schema->generateTable('f', $tableInfo), "\n");
|
||||||
return substr($schema, 13, -2);
|
return substr($schema, 13, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue