diff --git a/public/src/modules/helpers.common.js b/public/src/modules/helpers.common.js
index 7381182f40..1e2d662990 100644
--- a/public/src/modules/helpers.common.js
+++ b/public/src/modules/helpers.common.js
@@ -207,7 +207,7 @@ module.exports = function (utils, Benchpress, relative_path) {
if (event.user) {
if (!event.user.system) {
- html += `${buildAvatar(event.user, 'xs', true)} ${event.user.username} `;
+ html += `${buildAvatar(event.user, '16px', true)} ${event.user.username} `;
} else {
html += `[[global:system-user]] `;
}
diff --git a/src/user/approval.js b/src/user/approval.js
index 24e84fba64..9f2aeca562 100644
--- a/src/user/approval.js
+++ b/src/user/approval.js
@@ -132,7 +132,7 @@ module.exports = function (User) {
// need to keep this for getIPMatchedUsers
user.ip = user.ip.replace('::ffff:', '');
await getIPMatchedUsers(user);
- user.customActions = [].concat(user.customActions);
+ user.customActions = user.customActions || [];
/*
// then spam prevention plugins, using the "filter:user.getRegistrationQueue" hook can be like:
user.customActions.push({
diff --git a/src/views/admin/advanced/events.tpl b/src/views/admin/advanced/events.tpl
index 5e3403c158..2fab55dbba 100644
--- a/src/views/admin/advanced/events.tpl
+++ b/src/views/admin/advanced/events.tpl
@@ -14,13 +14,7 @@
{events.type}
uid {events.uid}
{events.ip}
-
-
-
-
-