Bug in String.php
In function IsUTF8
This commit is contained in:
		
							parent
							
								
									37b4d18d45
								
							
						
					
					
						commit
						832421bbca
					
				@ -403,7 +403,7 @@ class PHPExcel_Shared_String
 | 
				
			|||||||
	 * @return boolean
 | 
						 * @return boolean
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	public static function IsUTF8($value = '') {
 | 
						public static function IsUTF8($value = '') {
 | 
				
			||||||
		return $string === '' || preg_match('/^./su', $string) === 1;
 | 
							return $value === '' || preg_match('/^./su', $value) === 1;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user