Skip to content

Commit ed83841

Browse files
committed
copy/paste issue
1 parent 89e2fd3 commit ed83841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Text.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static function controlCharacterOOXML2PHP($value = '')
120120
*/
121121
public static function isUTF8($value = '')
122122
{
123-
return is_string($str) && ($str === '' || preg_match('/^./su', $str) == 1);
123+
return is_string($value) && ($value === '' || preg_match('/^./su', $value) == 1);
124124
}
125125

126126
/**

0 commit comments

Comments
 (0)