diff options
author | Friendika <info@friendika.com> | 2011-06-19 20:13:24 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-19 20:13:24 -0700 |
commit | b56e00c7c5ed1ee7043852b4ce025a3d02f139e8 (patch) | |
tree | 63482f7483016c0486f16fdcbc83cfedd876931b /mod | |
parent | cc7c72be9048941167d2e911c0db4b2050acd4f8 (diff) | |
download | volse-hubzilla-b56e00c7c5ed1ee7043852b4ce025a3d02f139e8.tar.gz volse-hubzilla-b56e00c7c5ed1ee7043852b4ce025a3d02f139e8.tar.bz2 volse-hubzilla-b56e00c7c5ed1ee7043852b4ce025a3d02f139e8.zip |
api post sort of working - output status,user need to be swapped
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 2 insertions, 0 deletions
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']; |