From 9a414cc4a0e02db0c31b6b6fbe92137c12d4959c Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 15 Nov 2014 19:21:54 +0100 Subject: [PATCH] Bugfix: There was a SQL error when trying to deliver friendica posts because of a parameter mismatch --- mod/dfrn_notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 2aa6545346..43414dc87c 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -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 ),