diff --git a/client_logins.php b/client_logins.php
index 03c36a88d..13180be45 100644
--- a/client_logins.php
+++ b/client_logins.php
@@ -95,7 +95,7 @@
if (strlen($login_uri) > $login_uri_display_size) {
$login_uri_display_ellipsis = "...";
}
- $login_uri_display = substr($login_uri, 0, 35) . "$login_uri_display_ellipsis";
+ $login_uri_display = truncate($login_uri,40) . "";
}
$login_uri_2 = nullable_htmlentities($row['login_uri_2']);
$login_username = nullable_htmlentities(decryptLoginEntry($row['login_username']));