mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05:00 
			
		
		
		
	Fix for UTF8 issue
This commit is contained in:
		
							parent
							
								
									ca3ff553e5
								
							
						
					
					
						commit
						9f5e47cc09
					
				@ -103,7 +103,7 @@ class EntityDatatable
 | 
			
		||||
        $str = e($str);
 | 
			
		||||
 | 
			
		||||
        if (strlen($str) > $max) {
 | 
			
		||||
            return '<span data-toggle="tooltip" data-placement="bottom" title="' . substr($str, 0, 500) . '">' . trim(substr($str, 0, $max)) . '...' . '</span>';
 | 
			
		||||
            return '<span data-toggle="tooltip" data-placement="bottom" title="' . mb_substr($str, 0, 500) . '">' . trim(mb_substr($str, 0, $max)) . '...' . '</span>';
 | 
			
		||||
        } else {
 | 
			
		||||
            return $str;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user