1
0
Fork 0

Bugfix: There was a SQL error when trying to deliver friendica posts because of a parameter mismatch

This commit is contained in:
Michael Vogel 2014-11-15 19:21:54 +01:00
parent a3ae3c9156
commit 9a414cc4a0

View file

@ -193,7 +193,7 @@ function dfrn_notify_content(&$a) {
$r = q("DELETE FROM `challenge` WHERE `expire` < " . intval(time()));
$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($dfrn_id),
intval(time() + 90 ),