*** t3lib/class.t3lib_install.php Tue Mar 6 09:55:18 2007 --- t3lib/class.t3lib_install-new.php Tue May 29 20:42:32 2007 *************** *** 390,406 **** ) ); // Change key definition if necessary (must use "prefix" on TEXT columns) ! foreach ($cfg['keys'] as $kN => $kType) { ! $match = array(); ! preg_match('/^([^(]*)\(([^)]+)\)(.*)/', $kType, $match); ! $keys = array(); ! foreach (t3lib_div::trimExplode(',',$match[2]) as $kfN) { ! if ($fN == $kfN) { ! $kfN .= '('.$newSize.')'; } ! $keys[] = $kfN; } - $total[$table]['keys'][$kN] = $match[1].'('.join(',',$keys).')'.$match[3]; } } break; --- 390,408 ---- ) ); // Change key definition if necessary (must use "prefix" on TEXT columns) ! if (is_array($cfg['keys'])) { ! foreach ($cfg['keys'] as $kN => $kType) { ! $match = array(); ! preg_match('/^([^(]*)\(([^)]+)\)(.*)/', $kType, $match); ! $keys = array(); ! foreach (t3lib_div::trimExplode(',',$match[2]) as $kfN) { ! if ($fN == $kfN) { ! $kfN .= '('.$newSize.')'; ! } ! $keys[] = $kfN; } ! $total[$table]['keys'][$kN] = $match[1].'('.join(',',$keys).')'.$match[3]; } } } break;