]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/FContact.php
New option to disable the fetching of parents
[friendica.git] / src / Model / FContact.php
index cc6b2d2a7a43d9a4d6093a2357e7f5922486f058..713d74dc19a083d25966387141cf5307980c09c9 100644 (file)
@@ -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;
                                }