diff --git a/infolog/inc/class.infolog_tracking.inc.php b/infolog/inc/class.infolog_tracking.inc.php index 258546020d..188a841865 100644 --- a/infolog/inc/class.infolog_tracking.inc.php +++ b/infolog/inc/class.infolog_tracking.inc.php @@ -284,6 +284,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)) {