diff --git a/src/Model/FContact.php b/src/Model/FContact.php index cc6b2d2a7..713d74dc1 100644 --- a/src/Model/FContact.php +++ b/src/Model/FContact.php @@ -53,8 +53,8 @@ class FContact if (is_null($update)) { // update record occasionally so it doesn't get stale - $d = strtotime($person["updated"]." +00:00"); - if ($d < strtotime("now - 14 days")) { + $d = strtotime($person['updated'] . ' +00:00'); + if ($d < strtotime('now - 14 days')) { $update = true; }