1
0
Fork 0

Once again, notices ... (#5535)

This commit is contained in:
Michael Vogel 2018-07-31 18:39:23 +02:00 committed by Tobias Diekershoff
commit 71b1638d9a
6 changed files with 15 additions and 4 deletions

View 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)",