From f10d3f9826555aa1f57966474b1269bc5dd6f63d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 22 May 2006 22:02:15 +0000 Subject: [PATCH] Fixed bug reported by Jens Benner, custom fields in InfoLog were NOT saved on add --- infolog/inc/class.soinfolog.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.soinfolog.inc.php b/infolog/inc/class.soinfolog.inc.php index cf4c3ee29b..5e317a2052 100644 --- a/infolog/inc/class.soinfolog.inc.php +++ b/infolog/inc/class.soinfolog.inc.php @@ -413,7 +413,7 @@ 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->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 "

soinfolog.write values= "; _debug_array($values);