]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/GContact.php
Merge pull request #5561 from MrPetovan/bug/4584-fix-twitter-gif-still-image
[friendica.git] / src / Model / GContact.php
index 9941eb1ed711156ef04a94008283e467a9297236..13aa09333696a31fd63034b6550dc408067fdf5a 100644 (file)
@@ -705,6 +705,10 @@ class GContact
                                $doprobing = (((time() - $last_contact) > (90 * 86400)) && ((time() - $last_failure) > (90 * 86400)));
                        }
                } else {
+                       $contact['location'] = defaults($contact, 'location', '');
+                       $contact['about'] = defaults($contact, 'about', '');
+                       $contact['generation'] = defaults($contact, 'generation', 0);
+
                        q(
                                "INSERT INTO `gcontact` (`name`, `nick`, `addr` , `network`, `url`, `nurl`, `photo`, `created`, `updated`, `location`, `about`, `hide`, `generation`)
                                VALUES ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d)",