mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix timestamp display, fix default display to remove double "'"
This commit is contained in:
parent
c98c5faa6e
commit
663e83b66e
@ -147,6 +147,7 @@
|
||||
$sTranslated = "'type' => 'float', 'precision' => $iPrecision";
|
||||
break;
|
||||
case 'datetime':
|
||||
case 'timestamp':
|
||||
$sTranslated = "'type' => 'timestamp'";
|
||||
break;
|
||||
case 'varchar':
|
||||
@ -300,6 +301,7 @@
|
||||
$default = '';
|
||||
$nullcomma = '';
|
||||
}
|
||||
$default = ereg_replace("''","'",$default);
|
||||
|
||||
$this->sCol[] = "\t\t\t\t'" . $colname . "' => array(" . $type . ',' . $null . $nullcomma . $default . '),' . "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user