Skip to content

Node.js based forum software built for the modern web

fix: closes #14615, fix tx string

Barış Soner Uşaklıc6768b9b34bf
diff --git a/src/flags.js b/src/flags.js
index 28c6852962..fc73db64c4 100644
--- a/src/flags.js
+++ b/src/flags.js
@@ -754,7 +754,7 @@ Flags.update = async function (flagId, uid, changeset) {
}
const notifObj = await notifications.create({
type: 'my-flags',
- bodyShort: translator.compile(`[[notifications:flag-assigned-to-you, ${flagId}]]`),
+ bodyShort: translator.compile('notifications:flag-assigned-to-you', flagId),
path: `/flags/${flagId}`,
nid: `flags:assign:${flagId}:uid:${assigneeId}`,
from: uid,