1
1
Fork 0

Merge pull request #1226 from annando/1411-bugfix-dfrn-notify

Urgent Bugfix: Error when delivering Friendica content
This commit is contained in:
fabrixxm 2014-11-16 13:14:45 +01:00
commit 774ee9c8c7

View file

@ -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 ),