mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04: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);
|
$formatted_number = preg_replace('/\s+/', '_', $formatted_number);
|
||||||
|
|
||||||
return $formatted_number;
|
return \Illuminate\Support\Str::ascii($formatted_number);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function translate_entity()
|
public function translate_entity()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user