Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop

This commit is contained in:
MarkBaker 2014-11-11 23:19:05 +00:00
commit 63de24eeba
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ class PHPExcel_Shared_String
* @return boolean
*/
public static function IsUTF8($value = '') {
return $string === '' || preg_match('/^./su', $string) === 1;
return $value === '' || preg_match('/^./su', $value) === 1;
}
/**