Skip to content

Commit d3536c2

Browse files
committed
Merge pull request #87 from soloweb/fixDBColumn
Fix DBColumn
2 parents 20b9ad5 + 246e979 commit d3536c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/OSQL/DBColumn.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function toDialectString(Dialect $dialect)
176176
? $dialect->literalToString(Dialect::LITERAL_TRUE)
177177
: $dialect->literalToString(Dialect::LITERAL_FALSE);
178178
else
179-
$default = $dialect->valueToString($default);
179+
$default = $dialect->valueToString($this->default);
180180

181181
$out .= ' DEFAULT '.($default);
182182
}

0 commit comments

Comments
 (0)