aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
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?