From 0de3cd7a7e9fd869d95957e5ee4d9911b735794e Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Tue, 12 Jun 2012 16:12:34 +0200
Subject: [PATCH] fixed #78

---
 hsarback/src/de/hsadmin/core/model/Transaction.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/core/model/Transaction.java b/hsarback/src/de/hsadmin/core/model/Transaction.java
index 696fac7..98a5f5e 100644
--- a/hsarback/src/de/hsadmin/core/model/Transaction.java
+++ b/hsarback/src/de/hsadmin/core/model/Transaction.java
@@ -208,7 +208,7 @@
 			return true;		// 2-letter hostmaster
 		}
 		String hostmasterAccountPrefix = Config.getInstance().getProperty("accountprefix.hostmaster", "hsh01") + "-";
-		if (ticketUser != null && ticketUser.startsWith(hostmasterAccountPrefix) && ticketUser.length() == 8) {
+		if (ticketUser != null && ticketUser.startsWith(hostmasterAccountPrefix) && ticketUser.length() == 9) {
 			return true;		// hsh01 hostmaster
 		}
 		if (ticketUser != null && ticketUser.length() == 5) {

--
Gitblit v1.9.1