From 7aa61f8e6590f888eba97bdef9b946a06c6922aa Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Sun, 6 Feb 2011 19:36:46 +0200 Subject: [PATCH] Task #2753 - The advanced file manager: Fixing a minor UTF-8 bug (a forgotten change). --- .../editor/plugins/ajaxfilemanager/inc/function.base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/function.base.php b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/function.base.php index ce75f36a2f..4223da9970 100755 --- a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/function.base.php +++ b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/function.base.php @@ -821,7 +821,7 @@ function getRootPath() { { if(strlen($fileName) > $maxLeng) { - $fileName = api_substr($fileName, 0, $maxLeng - strlen($indicate)) . $indicate; + $fileName = api_substr($fileName, 0, $maxLeng - api_strlen($indicate)) . $indicate; } return $fileName;