mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +01:00
fix typo in last commit
This commit is contained in:
parent
bee933496d
commit
18b9ff23f5
@ -687,7 +687,7 @@ class schema_proc
|
||||
in_array($data['type'], array('varchar', 'ascii')) &&
|
||||
$old_table_def['fd'][$name]['precision'] > $data['precision'])
|
||||
{
|
||||
$value = "SUBSTRING($value FROM 1 FOR ".(int)$data['size'].')';
|
||||
$value = "SUBSTRING($value FROM 1 FOR ".(int)$data['precision'].')';
|
||||
}
|
||||
// cast everything which is a different type
|
||||
elseif($old_table_def['fd'][$name]['type'] != $data['type'] && ($type_translated = $this->TranslateType($data['type'])))
|
||||
|
Loading…
Reference in New Issue
Block a user