aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-29 17:30:46 -0700
committerfriendica <info@friendica.com>2013-07-29 17:30:46 -0700
commit7b3c29ebe69726f7d42c9327bebb2ea7251bccb4 (patch)
treeeea014afe0989f657768eaf56cacf0f33a6e88df /mod
parent092ef64ac78d7535788ba03b0d940fa311e0934d (diff)
downloadvolse-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.php3
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');