mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
fix for PostgreSQL notification update not working: some stuff is NOT to be quoted
This commit is contained in:
parent
614882c347
commit
5396f9c02f
@ -666,6 +666,11 @@ class schema_proc
|
||||
{
|
||||
$value = 'NULL';
|
||||
}
|
||||
// some stuff is NOT to be quoted
|
||||
elseif (in_array(strtoupper($data['default']),array('CURRENT_TIMESTAMP','CURRENT_DATE','NULL','NOW()')))
|
||||
{
|
||||
$value = $data['default'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$value = $this->m_odb->quote(isset($data['default']) ? $data['default'] : '',$data['type']);
|
||||
|
Loading…
Reference in New Issue
Block a user