Fixed buggy condition. Now defaults are properly calculated by getPHP()

This commit is contained in:
stronk7
2006-09-12 16:45:46 +00:00
parent 9a96282f2c
commit 88bf021308
+1 -1
View File
@@ -800,7 +800,7 @@ class XMLDBField extends XMLDBObject {
}
/// Default
$default = $this->getDefault();
if (!$default !== null & !$this->getSequence()) {
if ($default !== null && !$this->getSequence()) {
$result .= "'" . $default . "'";
} else {
$result .= 'null';