From 0b8c9654ea7e9e9357c5af689ed8a0d11d38d2f7 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 15 Nov 2013 03:10:00 -0800 Subject: allow rpost to set source app --- mod/rpost.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/rpost.php') diff --git a/mod/rpost.php b/mod/rpost.php index 820799218..8e01ef5d4 100644 --- a/mod/rpost.php +++ b/mod/rpost.php @@ -17,6 +17,7 @@ require_once('include/zot.php'); * f= placeholder, often required * title= Title of post * body= Body of post + * source= Source application * remote_return= absolute URL to return after posting is finished * type= choices are 'html' or 'bbcode', default is 'bbcode' * @@ -107,6 +108,7 @@ function rpost_content(&$a) { 'profile_uid' => local_user(), 'title' => $_REQUEST['title'], 'body' => $_REQUEST['body'], + 'source' => ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : ''), 'return_path' => 'rpost/return' ); -- cgit v1.2.3