From 6f2f2d0ffdf21ac0dce85b5dae8809a49b14a7a2 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 07 Feb 2008 02:50:37 -0500 Subject: [PATCH] Truncate attachment filenames to 55 characters (#1484757) and fix misspelled function name --- program/include/main.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/main.inc b/program/include/main.inc index 6fe3a29..1e25dd6 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1712,7 +1712,7 @@ // shorten the folder name to a given length if ($maxlength && $maxlength>1) { - $fname = abbrevate_string($foldername, $maxlength); + $fname = abbreviate_string($foldername, $maxlength); if ($fname != $foldername) $title = ' title="'.Q($foldername).'"'; $foldername = $fname; @@ -1791,7 +1791,7 @@ // shorten the folder name to a given length if ($maxlength && $maxlength>1) - $foldername = abbrevate_string($foldername, $maxlength); + $foldername = abbreviate_string($foldername, $maxlength); } $out .= sprintf('<option value="%s">%s%s</option>'."\n", -- Gitblit v1.9.1