Skip to content

Commit 47787b8

Browse files
committed
Merge pull request #599 from sergeyklay/2.0.x
Fixed issue #598
2 parents b8d1a36 + 7ffb8f1 commit 47787b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Phalcon/Builder/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function build()
214214

215215
$table = $this->options->get('name');
216216
if ($this->options->get('fileName') != $table && !isset($initialize['schema'])) {
217-
$initialize[] = $this->snippet->getThisMethod('setSource', '\'' . $table . '\'');
217+
$initialize[] = $this->snippet->getThisMethod('setSource', $table);
218218
}
219219

220220
if (!$db->tableExists($table, $schema)) {

0 commit comments

Comments
 (0)