missing information in notification mails, when assigning infolog to projekt

This commit is contained in:
Klaus Leithoff 2010-04-12 14:12:58 +00:00
parent 5b3c05a616
commit 7db0cf9d0c

View File

@ -885,6 +885,10 @@ class infolog_bo
if ($old && ($missing_fields = array_diff_key($old,$values)))
{
$values = array_merge($values,$missing_fields);
}
// Add keys missing in the $to_write array
if ($missing_fields = array_diff_key($values,$to_write))
{
$to_write = array_merge($to_write,$missing_fields);
}
$this->tracking->track($to_write,$old,$this->user,$values['info_status'] == 'deleted' || $old['info_status'] == 'deleted');