From e9c5807ade7561ff8ed7be4d1fb250bcdd8d384f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 2 Feb 2021 11:39:44 +0100 Subject: [PATCH] Fix bad merge / codestyle When resolving the conflict in UserAvatarAction due to 621a83b075404f408dd025dfdc2cc55a43466536 it was forgotten to add the leading backslash. --- .../files/lib/data/user/avatar/UserAvatarAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php index 6cc6b8f134..c0105a077c 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php @@ -176,7 +176,7 @@ class UserAvatarAction extends AbstractDatabaseObjectAction } $data = [ - 'avatarName' => mb_substr($tmp['basename'], 0, 255), + 'avatarName' => \mb_substr($tmp['basename'], 0, 255), 'avatarExtension' => $tmp['extension'], 'width' => $imageData[0], 'height' => $imageData[1], -- 2.20.1