Fixed bug reported by Jens Benner, custom fields in InfoLog were NOT saved on add

This commit is contained in:
Ralf Becker 2006-05-22 22:02:15 +00:00
parent 6b7b606d70
commit f10d3f9826

View File

@ -413,7 +413,7 @@
if (!isset($to_write['info_id_parent'])) $to_write['info_id_parent'] = 0; // must not be null if (!isset($to_write['info_id_parent'])) $to_write['info_id_parent'] = 0; // must not be null
$this->db->insert($this->info_table,$to_write,false,__LINE__,__FILE__); $this->db->insert($this->info_table,$to_write,false,__LINE__,__FILE__);
$this->data['info_id'] = $this->db->get_last_insert_id($this->info_table,'info_id'); $info_id = $this->data['info_id'] = $this->db->get_last_insert_id($this->info_table,'info_id');
} }
//echo "<p>soinfolog.write values= "; _debug_array($values); //echo "<p>soinfolog.write values= "; _debug_array($values);