Infolog: Fix save conflict was still overwriting

This commit is contained in:
nathan 2021-11-22 09:11:13 -07:00 committed by Ralf Becker
parent bf161d2cc2
commit 57eb310364

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'])