Fix bad merge / codestyle
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 2 Feb 2021 10:39:44 +0000 (11:39 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 2 Feb 2021 10:39:44 +0000 (11:39 +0100)
When resolving the conflict in UserAvatarAction due to
621a83b075404f408dd025dfdc2cc55a43466536 it was forgotten to add the leading
backslash.

wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php

index 6cc6b8f13410c79a2606be5601a56fbb1a00447c..c0105a077cb9d318f1c251a94b5c6c14c753b22b 100644 (file)
@@ -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],