diff options
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php index da703e916..dc00efd35 100644 --- a/mod/item.php +++ b/mod/item.php @@ -611,6 +611,9 @@ function item_post(&$a) { $datarray['title'] = mb_substr($datarray['title'],0,255); if(array_key_exists('item_private',$datarray) && $datarray['item_private']) { + + $datarray['body'] = z_input_filter($datarray['uid'],$datarray['body'],$datarray['mimetype']); + logger('Encrypting local storage'); $key = get_config('system','pubkey'); $datarray['item_flags'] = $datarray['item_flags'] | ITEM_OBSCURED; |