cronhooks broken

This commit is contained in:
Friendika 2011-08-15 22:23:17 -07:00
parent 3d45f9f133
commit 0eb06b3e2d
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,5 @@
<?php
require_once("boot.php"); require_once("boot.php");

View file

@ -35,7 +35,7 @@ function item_post(&$a) {
call_hooks('post_local_start', $_POST); 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? * Is this a reply to something?