mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-02 09:11:42 +01:00
fix for changing non-nullable fields in postgres
This commit is contained in:
parent
6b6d8f250e
commit
9e0d88fd69
@ -410,7 +410,14 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sSQL .= 'null';
|
if(isset($arraydef['nullable']) && $arraydef['nullable'])
|
||||||
|
{
|
||||||
|
$sSQL .= 'null';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$sSQL .= "''";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user