Merge pull request #19041 from GrayFix/fix-admin_audit-preview
mb substring in audit_log
This commit is contained in:
commit
4c94d88d3c
|
@ -183,7 +183,7 @@ class Application extends App {
|
|||
/** @var File $file */
|
||||
$file = $event->getSubject();
|
||||
$fileActions->preview([
|
||||
'path' => substr($file->getInternalPath(), 5),
|
||||
'path' => mb_substr($file->getInternalPath(), 5),
|
||||
'width' => $event->getArguments()['width'],
|
||||
'height' => $event->getArguments()['height'],
|
||||
'crop' => $event->getArguments()['crop'],
|
||||
|
|
Loading…
Reference in New Issue