forked from extern/egroupware
fix for PostgreSQL, thanks to Mark Stosberg
This commit is contained in:
parent
b7a992856e
commit
377b9aaf30
@ -398,6 +398,9 @@
|
||||
$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