From 0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 15 Aug 2011 22:23:17 -0700 Subject: cronhooks broken --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/item.php b/mod/item.php index 54472e268..ef0b232d5 100644 --- a/mod/item.php +++ b/mod/item.php @@ -35,7 +35,7 @@ function item_post(&$a) { call_hooks('post_local_start', $_POST); - $api_source = ((x($_POST,'api_source')) ? true : false); + $api_source = ((x($_POST,'api_source') && $_POST['api_source']) ? true : false); /** * Is this a reply to something? -- cgit v1.2.3