diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-22 16:09:02 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-22 16:09:02 -0700 |
commit | 9879cf3c6ca0652e9dc5c69824f6ab655c484c28 (patch) | |
tree | a621a88b80735551e19f3e831af10166cbd87e43 /mod | |
parent | 0d8fcbe48dd92f37336dbb1bb86e609e8c86c488 (diff) | |
download | volse-hubzilla-9879cf3c6ca0652e9dc5c69824f6ab655c484c28.tar.gz volse-hubzilla-9879cf3c6ca0652e9dc5c69824f6ab655c484c28.tar.bz2 volse-hubzilla-9879cf3c6ca0652e9dc5c69824f6ab655c484c28.zip |
ensure we always sign a trimmed item body.
Diffstat (limited to 'mod')
-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 3ff286268..94e203788 100644 --- a/mod/item.php +++ b/mod/item.php @@ -798,7 +798,7 @@ function item_post(&$a) { if(array_key_exists('item_private',$datarray) && $datarray['item_private']) { - $datarray['body'] = z_input_filter($datarray['uid'],$datarray['body'],$datarray['mimetype']); + $datarray['body'] = trim(z_input_filter($datarray['uid'],$datarray['body'],$datarray['mimetype'])); if($uid) { if($channel['channel_hash'] === $datarray['author_xchan']) { |