Gemorroj
2012-11-08 11:46:54 +03:00
parent a809355863
commit b0d553909a
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -621,7 +621,7 @@ class PHPExcel_Shared_String
public static function StrToTitle($pValue = '')
{
if (function_exists('mb_convert_case')) {
return mb_convert_case($pValue, MB_CASE_LOWER, "UTF-8");
return mb_convert_case($pValue, MB_CASE_TITLE, "UTF-8");
}
return ucwords($pValue);
}