X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FGContact.php;h=13aa09333696a31fd63034b6550dc408067fdf5a;hb=ef1c73fb6b6c20429ecb9f617252babc6954016c;hp=9941eb1ed711156ef04a94008283e467a9297236;hpb=a6fb3568f989f72164b435baafc63a174397b542;p=friendica.git diff --git a/src/Model/GContact.php b/src/Model/GContact.php index 9941eb1ed7..13aa093336 100644 --- a/src/Model/GContact.php +++ b/src/Model/GContact.php @@ -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)",