notify on infolog creation as well (was not, as condition was not met for changes=true)

This commit is contained in:
Klaus Leithoff 2010-06-29 12:11:30 +00:00
parent 9c5284bc61
commit 60f6fc2e4f

View File

@ -280,6 +280,7 @@ class infolog_tracking extends bo_tracking
if(is_null($changed_fields))
{
$changed_fields = $this->changed_fields($data, $old);
$changes = count($changed_fields); // we need that since TRUE evaluates to 1
}
if(is_array($changed_fields) && $changes == 1 && in_array('info_datemodified', $changed_fields))
{