Browse Source

cronhooks broken

pull/1/head
Friendika 10 years ago
parent
commit
0eb06b3e2d
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      include/cronhooks.php
  2. +1
    -1
      mod/item.php

+ 2
- 0
include/cronhooks.php View File

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


+ 1
- 1
mod/item.php View File

@ -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…
Cancel
Save