facebook queue: not enough parameters
This commit is contained in:
parent
05e06889b3
commit
d53c1bb48a
|
@ -640,7 +640,7 @@ function facebook_post_hook(&$a,&$b) {
|
||||||
if(! $likes) {
|
if(! $likes) {
|
||||||
$s = serialize(array('url' => $url, 'item' => $b['id'], 'post' => $postvars));
|
$s = serialize(array('url' => $url, 'item' => $b['id'], 'post' => $postvars));
|
||||||
q("INSERT INTO `queue` ( `network`, `cid`, `created`, `last`, `content`)
|
q("INSERT INTO `queue` ( `network`, `cid`, `created`, `last`, `content`)
|
||||||
VALUES ( '%s', '%s', '%s', '%s') ",
|
VALUES ( '%s', %d, '%s', '%s', '%s') ",
|
||||||
dbesc(NETWORK_FACEBOOK),
|
dbesc(NETWORK_FACEBOOK),
|
||||||
intval($a->contact),
|
intval($a->contact),
|
||||||
dbesc(datetime_convert()),
|
dbesc(datetime_convert()),
|
||||||
|
|
Loading…
Reference in a new issue