Merge pull request #2681 from annando/bugfix-diaspora

Bugfix: There was an SQL error when adding new entries in the fcontac…
This commit is contained in:
Tobias Diekershoff 2016-07-15 17:35:50 +02:00 committed by GitHub
commit 0a49b7dc77

View file

@ -638,7 +638,7 @@ class diaspora {
} else {
$r = q("INSERT INTO `fcontact` (`url`,`name`,`photo`,`request`,`nick`,`addr`, `guid`,
`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["name"]),
dbesc($arr["photo"]),