]> git.mxchange.org Git - friendica.git/commitdiff
Update on empty uri-id
authorMichael <heluecht@pirati.ca>
Fri, 9 Jul 2021 08:46:42 +0000 (08:46 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 9 Jul 2021 08:46:42 +0000 (08:46 +0000)
src/Model/FContact.php

index 24421b8c0809a4f2e8803a8765f0960392f6188e..0fc4633275284d761ecc4fc4f8d7135bc90f781b 100644 (file)
@@ -60,7 +60,7 @@ class FContact
                                        $update = true;
                                }
 
-                               if ($person["guid"] == "") {
+                               if (empty($person['guid']) || empty($person['uri-id'])) {
                                        $update = true;
                                }
                        }