Fixed a very stupid bug >_<

This commit is contained in:
str4d
2012-10-24 19:51:54 +00:00
parent 97da508df5
commit c2d178efc3

View File

@@ -285,7 +285,7 @@
</label>
<div class="text">
<% String cdest = indexBean.getClientDestination(curClient);
if (cdest.length() < 70) { // Probably a B64 (a B32 is 60 chars) so truncate
if (cdest.length() > 70) { // Probably a B64 (a B32 is 60 chars) so truncate
%><%=cdest.substring(0, 45)%>&hellip;<%=cdest.substring(cdest.length() - 15, cdest.length())%><%
} else if (cdest.length() > 0) {
%><%=cdest%><%