diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-01-22 11:38:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 11:38:05 +0100 |
commit | 4c94d88d3c0720f336492643f785f0532b9597ae (patch) | |
tree | e825e64336c15a3d35e6281331a1761bdfc20b70 /apps | |
parent | cbe2bafc7a961467a559a2b369274d2614e34ea0 (diff) | |
parent | 3e482653b93728021474b8f7f127d81e26598fe8 (diff) | |
download | nextcloud-server-4c94d88d3c0720f336492643f785f0532b9597ae.tar.gz nextcloud-server-4c94d88d3c0720f336492643f785f0532b9597ae.zip |
Merge pull request #19041 from GrayFix/fix-admin_audit-preview
mb substring in audit_log
Diffstat (limited to 'apps')
-rw-r--r-- | apps/admin_audit/lib/AppInfo/Application.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/admin_audit/lib/AppInfo/Application.php b/apps/admin_audit/lib/AppInfo/Application.php index ebcb732abde..44d713f7df0 100644 --- a/apps/admin_audit/lib/AppInfo/Application.php +++ b/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'], |