mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for utf8 encoding in filenames for downloads
This commit is contained in:
parent
66e389ba3a
commit
dcfb3c940e
@ -255,7 +255,7 @@ class BaseModel extends Model
|
||||
|
||||
$formatted_number = preg_replace('/\s+/', '_', $formatted_number);
|
||||
|
||||
return $formatted_number;
|
||||
return \Illuminate\Support\Str::ascii($formatted_number);
|
||||
}
|
||||
|
||||
public function translate_entity()
|
||||
|
Loading…
Reference in New Issue
Block a user