mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 03:41:53 +02: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')) &&
|
in_array($data['type'], array('varchar', 'ascii')) &&
|
||||||
$old_table_def['fd'][$name]['precision'] > $data['precision'])
|
$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
|
// cast everything which is a different type
|
||||||
elseif($old_table_def['fd'][$name]['type'] != $data['type'] && ($type_translated = $this->TranslateType($data['type'])))
|
elseif($old_table_def['fd'][$name]['type'] != $data['type'] && ($type_translated = $this->TranslateType($data['type'])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user