mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
cronhooks broken
This commit is contained in:
parent
3d45f9f133
commit
0eb06b3e2d
2 changed files with 3 additions and 1 deletions
|
@ -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