diff options
author | friendica <info@friendica.com> | 2014-03-04 19:57:54 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-04 19:57:54 -0800 |
commit | 267283748f676a278d180752c3af56486754e83e (patch) | |
tree | 837c293ec6ff722d8a7616266525acabfe83607e /mod/item.php | |
parent | 4da73d7d841d9ed33ce83539d7faac5809cac6dc (diff) | |
download | volse-hubzilla-267283748f676a278d180752c3af56486754e83e.tar.gz volse-hubzilla-267283748f676a278d180752c3af56486754e83e.tar.bz2 volse-hubzilla-267283748f676a278d180752c3af56486754e83e.zip |
Red API: /api/red/item/new ; which is like /api/statuses/update except it uses Red semantics and returns success/failure indication.
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index 2feb64a37..6ea434542 100644 --- a/mod/item.php +++ b/mod/item.php @@ -862,7 +862,7 @@ function item_post(&$a) { // figure out how to return, depending on from whence we came if($api_source) - return; + return $post; if($return_path) { goaway($a->get_baseurl() . "/" . $return_path); |