From 7b3c29ebe69726f7d42c9327bebb2ea7251bccb4 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 29 Jul 2013 17:30:46 -0700 Subject: fix bug #84, make imported messages from your clones show up on your wall --- mod/item.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod') 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'); -- cgit v1.2.3