aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-01-22 11:38:05 +0100
committerGitHub <noreply@github.com>2020-01-22 11:38:05 +0100
commit4c94d88d3c0720f336492643f785f0532b9597ae (patch)
treee825e64336c15a3d35e6281331a1761bdfc20b70 /apps
parentcbe2bafc7a961467a559a2b369274d2614e34ea0 (diff)
parent3e482653b93728021474b8f7f127d81e26598fe8 (diff)
downloadnextcloud-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.php2
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'],