Bug #24472 » 16912-v2.diff
t3lib/class.t3lib_install.php (working copy) | ||
---|---|---|
}
|
||
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')) {
|
||
// and the default value is not NULL
|
||
if (!stristr($row['Extra'], 'auto_increment') && !is_null($row['Default'])) {
|
||
$field[] = 'default \'' . addslashes($row['Default']) . '\'';
|
||
}
|
||
}
|
- « Previous
- 1
- 2
- Next »