Skip to content

Commit 7ffb8f1

Browse files
committed
Fixed issue #598
1 parent 3dcfc20 commit 7ffb8f1

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)