Browse Source
Merge pull request #19041 from GrayFix/fix-admin_audit-preview
mb substring in audit_log
pull/19081/head
Roeland Jago Douma
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
apps/admin_audit/lib/AppInfo/Application.php
|
|
|
@ -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'], |
|
|
|
|