From b56e00c7c5ed1ee7043852b4ce025a3d02f139e8 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 19 Jun 2011 20:13:24 -0700 Subject: api post sort of working - output status,user need to be swapped --- mod/item.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/item.php') diff --git a/mod/item.php b/mod/item.php index 98f4ff90c..e8714f955 100644 --- a/mod/item.php +++ b/mod/item.php @@ -722,6 +722,8 @@ function item_post(&$a) { logger('return: ' . $_POST['return']); goaway($a->get_baseurl() . "/" . $_POST['return'] ); } + if($_POST['api_source']) + return; $json = array('success' => 1); if(x($_POST,'jsreload') && strlen($_POST['jsreload'])) $json['reload'] = $a->get_baseurl() . '/' . $_POST['jsreload']; -- cgit v1.2.3