Bugfix: There was a SQL error when trying to deliver friendica posts because of a parameter mismatch
This commit is contained in:
parent
a3ae3c9156
commit
9a414cc4a0
|
@ -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