Issue 8254 More length shortenings

This commit is contained in:
Michael 2020-03-25 23:18:07 +00:00
parent 85b0b676c1
commit 6f22e3909b
3 changed files with 3 additions and 3 deletions

View file

@ -1558,7 +1558,7 @@ class Item
$item['object'] = trim($item['object'] ?? '');
$item['target-type'] = trim($item['target-type'] ?? '');
$item['target'] = trim($item['target'] ?? '');
$item['plink'] = trim($item['plink'] ?? '');
$item['plink'] = substr(trim($item['plink'] ?? ''), 0, 255);
$item['allow_cid'] = trim($item['allow_cid'] ?? '');
$item['allow_gid'] = trim($item['allow_gid'] ?? '');
$item['deny_cid'] = trim($item['deny_cid'] ?? '');