This commit is contained in:
Roly Rudy Gutierrez Pinto
2016-12-23 16:05:41 -04:00
parent b264f56ef6
commit 828d1baead
3 changed files with 14 additions and 14 deletions

View File

@@ -89,8 +89,8 @@ class database extends database_base
$sKeys .= $this->sQuoteCharacter . $sColumnName . $this->sQuoteCharacter . ',';
}
if (isset( $aParameters['Default'] ) && $aParameters['Default'] != '') {
$sSQL .= " DEFAULT '" . $aParameters['Default'] . "'";
if (isset( $aParameters['Default'] )) {
$sSQL .= " DEFAULT '" . trim($aParameters['Default']) . "'";
}
$sSQL .= ',';