Infolog: Fix save conflict was still overwriting

This commit is contained in:
nathan 2021-11-22 09:11:13 -07:00
parent 87c17d5e75
commit 241d3181c9

View File

@ -1006,7 +1006,7 @@ class infolog_bo
$values['link_to']['to_id'] = $info_id;
}
}
if($values['info_id'] && $info_id !== false)
if($values['info_id'] && $info_id)
{
$this->write_check_links($to_write);
if(!$values['info_link_id'] || $values['info_link_id'] != $to_write['info_link_id'])