mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fix for PostgreSQL, thanks to Mark Stosberg
This commit is contained in:
parent
ef10e5af0a
commit
c0c28b5af1
@ -478,6 +478,9 @@ class soinfolog // DB-Layer
|
||||
$to_write[$key] = $this->data[$key] = $val; // update internal data
|
||||
}
|
||||
}
|
||||
// writing no price as SQL NULL (required by postgres)
|
||||
if ($to_write['info_price'] === '') $to_write['info_price'] = NULL;
|
||||
|
||||
if (($this->data['info_id'] = $info_id))
|
||||
{
|
||||
$where = array('info_id' => $info_id);
|
||||
|
Loading…
Reference in New Issue
Block a user