Bugfix: There was an SQL error when adding new entries in the fcontact table

This commit is contained in:
Michael Vogel 2016-07-15 17:25:30 +02:00
parent 334db69d5d
commit 1603aa41ef

View File

@ -638,7 +638,7 @@ class diaspora {
} else { } else {
$r = q("INSERT INTO `fcontact` (`url`,`name`,`photo`,`request`,`nick`,`addr`, `guid`, $r = q("INSERT INTO `fcontact` (`url`,`name`,`photo`,`request`,`nick`,`addr`, `guid`,
`batch`, `notify`,`poll`,`confirm`,`network`,`alias`,`pubkey`,`updated`) `batch`, `notify`,`poll`,`confirm`,`network`,`alias`,`pubkey`,`updated`)
VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')", VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')",
dbesc($arr["url"]), dbesc($arr["url"]),
dbesc($arr["name"]), dbesc($arr["name"]),
dbesc($arr["photo"]), dbesc($arr["photo"]),