Skip to content
Snippets Groups Projects
Unverified Commit 4c94d88d authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #19041 from GrayFix/fix-admin_audit-preview

mb substring in audit_log
parents cbe2bafc 3e482653
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,7 @@ class Application extends App { ...@@ -183,7 +183,7 @@ class Application extends App {
/** @var File $file */ /** @var File $file */
$file = $event->getSubject(); $file = $event->getSubject();
$fileActions->preview([ $fileActions->preview([
'path' => substr($file->getInternalPath(), 5), 'path' => mb_substr($file->getInternalPath(), 5),
'width' => $event->getArguments()['width'], 'width' => $event->getArguments()['width'],
'height' => $event->getArguments()['height'], 'height' => $event->getArguments()['height'],
'crop' => $event->getArguments()['crop'], 'crop' => $event->getArguments()['crop'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment