aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php2
-rw-r--r--mod/rpost.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 53064132c..d80241f2d 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -22,7 +22,6 @@ require_once('include/attach.php');
function item_post(&$a) {
-
// This will change. Figure out who the observer is and whether or not
// they have permission to post here. Else ignore the post.
@@ -399,6 +398,7 @@ function item_post(&$a) {
$verb = notags(trim($_REQUEST['verb']));
$title = escape_tags(trim($_REQUEST['title']));
$body = trim($_REQUEST['body']);
+ $body .= trim($_REQUEST['attachment']);
$postopts = '';
$private = (
diff --git a/mod/rpost.php b/mod/rpost.php
index 1bde121e4..737d705f6 100644
--- a/mod/rpost.php
+++ b/mod/rpost.php
@@ -124,6 +124,7 @@ function rpost_content(&$a) {
'profile_uid' => local_channel(),
'title' => $_REQUEST['title'],
'body' => $_REQUEST['body'],
+ 'attachment' => $_REQUEST['attachment'],
'source' => ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : ''),
'return_path' => 'rpost/return'
);