From ede0f5ac497efc02b9462815d4281a8fa73ba7cc Mon Sep 17 00:00:00 2001
From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com>
Date: Wed, 1 Sep 2010 15:35:58 +0000
Subject: [PATCH] User tag improved
---
Builder/IISMainHandler/build.txt | 2 +-
Common/BBCodes/User.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt
index 8b42f88..b92b677 100644
--- a/Builder/IISMainHandler/build.txt
+++ b/Builder/IISMainHandler/build.txt
@@ -1 +1 @@
-993
\ No newline at end of file
+995
\ No newline at end of file
diff --git a/Common/BBCodes/User.cs b/Common/BBCodes/User.cs
index b898eb3..239dde4 100644
--- a/Common/BBCodes/User.cs
+++ b/Common/BBCodes/User.cs
@@ -13,7 +13,7 @@ namespace FLocal.Common.BBCodes {
public override string Format(ITextFormatter formatter) {
var user = dataobjects.User.LoadByName(this.Default);
- return "" + this.Safe(user.name) + "";
+ return String.Format("{2}", this.Safe(user.userGroup.name), user.id, this.Safe(user.name));
}
}