aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-02 20:58:44 -0700
committerFriendika <info@friendika.com>2011-06-02 20:58:44 -0700
commitf2bdcb19e7f2748d3c368ab11deeb98d63fedca7 (patch)
treeed6e211ace3c1a31424d2e053473325c25e379d9 /include
parent20d1de4ceda3390f65adb9b9915dc9f36eeb3ed4 (diff)
downloadvolse-hubzilla-f2bdcb19e7f2748d3c368ab11deeb98d63fedca7.tar.gz
volse-hubzilla-f2bdcb19e7f2748d3c368ab11deeb98d63fedca7.tar.bz2
volse-hubzilla-f2bdcb19e7f2748d3c368ab11deeb98d63fedca7.zip
adjust acl_selector max name length to prevent div overflow
Diffstat (limited to 'include')
-rw-r--r--include/acl_selectors.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index b1bcf5108..90fdf9c1c 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -90,7 +90,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
else
$selected = '';
- $trimmed = mb_substr($rr['name'],0,22);
+ $trimmed = mb_substr($rr['name'],0,20);
$o .= "<option value=\"{$rr['id']}\" $selected title=\"{$rr['name']}|{$rr['url']}\" >$trimmed</option>\r\n";
}