Bug #14354 » 0000416-class.t3lib_install.php.diff
t3lib/class.t3lib_install.php 2005-02-04 19:23:39.000000000 +0100 | ||
---|---|---|
if (is_array($info['fields'])) {
|
||
foreach($info['fields'] as $fN => $fV) {
|
||
if ($info['whole_table']) {
|
||
if(!strcmp($fN,'uid')) {
|
||
if(strstr($fV,'auto_increment')) {
|
||
$fV = eregi_replace('default \'0\'','',$fV);
|
||
}
|
||
if(stristr($fV,'auto_increment')) {
|
||
$fV = eregi_replace('default \'0\'','',$fV);
|
||
}
|
||
$whole_table[]=$fN.' '.$fV;
|
||
} else {
|