Merge pull request #1226 from annando/1411-bugfix-dfrn-notify
Urgent Bugfix: Error when delivering Friendica content
This commit is contained in:
commit
774ee9c8c7
|
@ -193,7 +193,7 @@ function dfrn_notify_content(&$a) {
|
||||||
$r = q("DELETE FROM `challenge` WHERE `expire` < " . intval(time()));
|
$r = q("DELETE FROM `challenge` WHERE `expire` < " . intval(time()));
|
||||||
|
|
||||||
$r = q("INSERT INTO `challenge` ( `challenge`, `dfrn-id`, `expire` , `type`, `last_update` )
|
$r = q("INSERT INTO `challenge` ( `challenge`, `dfrn-id`, `expire` , `type`, `last_update` )
|
||||||
VALUES( '%s', '%s', %d ) ",
|
VALUES( '%s', '%s', %d, '%s', '%s' ) ",
|
||||||
dbesc($hash),
|
dbesc($hash),
|
||||||
dbesc($dfrn_id),
|
dbesc($dfrn_id),
|
||||||
intval(time() + 90 ),
|
intval(time() + 90 ),
|
||||||
|
|
Loading…
Reference in a new issue