From d53c1bb48a9fb9105387ea9e77395a66f471a4f6 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 4 Jun 2011 22:43:55 -0700 Subject: facebook queue: not enough parameters --- addon/facebook/facebook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index ac522aab6..cbd0fe490 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -640,7 +640,7 @@ function facebook_post_hook(&$a,&$b) { if(! $likes) { $s = serialize(array('url' => $url, 'item' => $b['id'], 'post' => $postvars)); q("INSERT INTO `queue` ( `network`, `cid`, `created`, `last`, `content`) - VALUES ( '%s', '%s', '%s', '%s') ", + VALUES ( '%s', %d, '%s', '%s', '%s') ", dbesc(NETWORK_FACEBOOK), intval($a->contact), dbesc(datetime_convert()), -- cgit v1.2.3