aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-15 22:23:17 -0700
committerFriendika <info@friendika.com>2011-08-15 22:23:17 -0700
commit0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f (patch)
tree3c387da1e7e60dbada58eacb39691a077a74eef3 /mod/item.php
parent3d45f9f133a7da9fec34d17c81f8c804c5a9deff (diff)
downloadvolse-hubzilla-0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f.tar.gz
volse-hubzilla-0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f.tar.bz2
volse-hubzilla-0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f.zip
cronhooks broken
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?