Merge pull request #457 from chamaeleon-nitr/patch-1

Bug in String.php
This commit is contained in:
Mark Baker 2014-11-11 21:40:55 +00:00
commit 47a34b6a8f
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;
}
/**