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:
commit
0a49b7dc77
|
@ -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"]),
|
||||||
|
|
Loading…
Reference in a new issue