Project

General

Profile

Bug #18315 » rev3301_post1.diff

Administrator Admin, 2008-02-27 08:43

View differences:

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']) {
(2-2/2)