mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix for bug [ 1059619 ] SQL Error: cannot be null
This commit is contained in:
parent
355d32ec28
commit
d6f9fd8a99
@ -372,6 +372,8 @@
|
|||||||
$to_write[$key] = $this->data[$key] = $val; // update internal data
|
$to_write[$key] = $this->data[$key] = $val; // update internal data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!isset($to_write['info_id_parent'])) $to_write['info_id_parent'] = 0; // must not be null
|
||||||
|
|
||||||
if (($this->data['info_id'] = $info_id))
|
if (($this->data['info_id'] = $info_id))
|
||||||
{
|
{
|
||||||
$this->db->update($this->info_table,$to_write,array('info_id'=>$info_id),__LINE__,__FILE__);
|
$this->db->update($this->info_table,$to_write,array('info_id'=>$info_id),__LINE__,__FILE__);
|
||||||
|
Loading…
Reference in New Issue
Block a user