From ca7a889ee78c55ab739ae01a121b257e1d3b4206 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 7 Feb 2008 07:50:37 +0000 Subject: Truncate attachment filenames to 55 characters (#1484757) and fix misspelled function name git-svn-id: https://svn.roundcube.net/trunk@1026 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_shared.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/include/rcube_shared.inc') diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc index 05fa7a2bc..0c336ca4e 100644 --- a/roundcubemail/program/include/rcube_shared.inc +++ b/roundcubemail/program/include/rcube_shared.inc @@ -557,9 +557,9 @@ function rc_request_header($name) * @param string Input string * @param int Max. length * @param string Replace removed chars with this - * @return string Abbrevated string + * @return string Abbreviated string */ -function abbrevate_string($str, $maxlength, $place_holder='...') +function abbreviate_string($str, $maxlength, $place_holder='...') { $length = rc_strlen($str); $first_part_length = floor($maxlength/2) - rc_strlen($place_holder); -- cgit v1.2.3