"fixed warning when saving new entries introduced by r28408"

This commit is contained in:
Ralf Becker 2009-12-08 10:07:53 +00:00
parent 0c63c864e2
commit af38e6e62a

View File

@ -726,7 +726,7 @@ class infolog_bo
$this->tracking = new infolog_tracking($this); $this->tracking = new infolog_tracking($this);
} }
if (($missing_fields = array_diff_key($old,$values))) if ($old && ($missing_fields = array_diff_key($old,$values)))
{ {
$values = array_merge($values,$missing_fields); $values = array_merge($values,$missing_fields);
} }