Bug #18315 » rev3301_post1.diff
t3lib/class.t3lib_install.php (Arbeitskopie) | ||
---|---|---|
if (!strstr($row['Type'],'blob') && !strstr($row['Type'],'text')) {
|
||
// Add a default value if the field is not auto-incremented (these fields never have a default definition)
|
||
if (!stristr($row['Extra'],'auto_increment')) {
|
||
$field[] = 'DEFAULT \''.addslashes($row['Default']).'\'';
|
||
$field[] = 'default '."'".(addslashes($row['Default']))."'";
|
||
}
|
||
}
|
||
if ($row['Extra']) {
|
- « Previous
- 1
- 2
- Next »