Skip to content

Node.js based forum software built for the modern web

fix: picture not showing up in change modal

Barış Soner Uşaklı13c870597e01
diff --git a/src/socket.io/user/picture.js b/src/socket.io/user/picture.js
index 9e305cc5ba..68d32680bf 100644
--- a/src/socket.io/user/picture.js
+++ b/src/socket.io/user/picture.js
@@ -72,7 +72,7 @@ module.exports = function (SocketUser) {
if (uploaded) {
list.pictures.push({
type: 'uploaded',
- url: data.uploaded,
+ url: uploaded,
text: '[[user:uploaded_picture]]',
});
}