diff options
author | Friendika <info@friendika.com> | 2011-08-15 22:23:17 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-15 22:23:17 -0700 |
commit | 0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f (patch) | |
tree | 3c387da1e7e60dbada58eacb39691a077a74eef3 | |
parent | 3d45f9f133a7da9fec34d17c81f8c804c5a9deff (diff) | |
download | volse-hubzilla-0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f.tar.gz volse-hubzilla-0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f.tar.bz2 volse-hubzilla-0eb06b3e2d9c5c65b6bad97639f032d5d0a1620f.zip |
cronhooks broken
-rw-r--r-- | include/cronhooks.php | 2 | ||||
-rw-r--r-- | mod/item.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/cronhooks.php b/include/cronhooks.php index a4eb5fbb3..37541f013 100644 --- a/include/cronhooks.php +++ b/include/cronhooks.php @@ -1,3 +1,5 @@ +<?php + require_once("boot.php"); 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? |