forked from extern/egroupware
fix for changing non-nullable fields in postgres
This commit is contained in:
parent
6b6d8f250e
commit
9e0d88fd69
@ -409,9 +409,16 @@
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(isset($arraydef['nullable']) && $arraydef['nullable'])
|
||||
{
|
||||
$sSQL .= 'null';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sSQL .= "''";
|
||||
}
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
$sSQL .= ')';
|
||||
|
Loading…
Reference in New Issue
Block a user