From 6564cbc99ab69dcf6370b2d3cca2839415ff1fd0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 27 Oct 2006 10:50:08 +0000 Subject: [PATCH] info_custom_from was not set for links to in new entries, causing them to have custom from --- infolog/inc/class.uiinfolog.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index 7dea07bcd0..c0782ea818 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -723,6 +723,7 @@ class uiinfolog // writing links for a new entry if ($info_id && is_array($content['link_to']['to_id']) && count($content['link_to']['to_id'])) { + //echo "

writing links for new entry $info_id

\n"; _debug_array($content['link_to']['to_id']); $this->link->link('infolog',$info_id,$content['link_to']['to_id']); $content['link_to']['to_id'] = $info_id; } @@ -739,7 +740,9 @@ class uiinfolog 'info_link_id' => $content['info_link_id'], 'info_from' => $content['info_from'], 'info_owner' => $content['info_owner'], + 'info_custom_from' => $content['info_custom_from'], ); + //echo "

updating info_link_id: ".print_r($to_write,true)."

\n"; $this->bo->write($to_write,False); // we need eg. the new modification date, for further updates $content = array_merge($content,$to_write);