diff options
author | friendica <info@friendica.com> | 2013-07-29 17:30:46 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-29 17:30:46 -0700 |
commit | 7b3c29ebe69726f7d42c9327bebb2ea7251bccb4 (patch) | |
tree | eea014afe0989f657768eaf56cacf0f33a6e88df /mod | |
parent | 092ef64ac78d7535788ba03b0d940fa311e0934d (diff) | |
download | volse-hubzilla-7b3c29ebe69726f7d42c9327bebb2ea7251bccb4.tar.gz volse-hubzilla-7b3c29ebe69726f7d42c9327bebb2ea7251bccb4.tar.bz2 volse-hubzilla-7b3c29ebe69726f7d42c9327bebb2ea7251bccb4.zip |
fix bug #84, make imported messages from your clones show up on your wall
Diffstat (limited to 'mod')
-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 1a27cbe57..0509d8fab 100644 --- a/mod/item.php +++ b/mod/item.php @@ -580,6 +580,9 @@ function item_post(&$a) { } + if(mb_strlen($datarray['title']) > 255) + $datarray['title'] = mb_substr($datarray['title'],0,255); + if(array_key_exists('item_private',$datarray) && $datarray['item_private']) { logger('Encrypting local storage'); $key = get_config('system','pubkey'); |