diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index 554782a82..63756ce3e 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -17,8 +17,9 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) {
$selected = " selected=\"selected\" ";
else
$selected = '';
+ $trimmed = substr($rr['name'],0,12);
- $o .= "\r\n";
+ $o .= "\r\n";
}
}
@@ -66,7 +67,9 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
else
$selected = '';
- $o .= "\r\n";
+ $trimmed = substr($rr['name'],0,24);
+
+ $o .= "\r\n";
}
}