This commit is contained in:
Peter Hormanns 2012-06-12 14:12:34 +00:00
parent 7665ac5734
commit 0de3cd7a7e

View File

@ -208,7 +208,7 @@ public class Transaction {
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) {