cronhooks broken
This commit is contained in:
parent
3d45f9f133
commit
0eb06b3e2d
|
@ -1,3 +1,5 @@
|
|||
<?php
|
||||
|
||||
require_once("boot.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?
|
||||
|
|
Loading…
Reference in a new issue