From d8ac72d343219ccb0e2982fe42b55c7d1db84cfe Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Wed, 04 Jan 2012 16:56:15 +0100
Subject: [PATCH] subdomains to pacdomain are not allowed

---
 hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java
index 550e6d2..f0dc96c 100644
--- a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java
+++ b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java
@@ -109,7 +109,7 @@
 				if (resultList.size() > 0) {
 					Domain superDom = (Domain) resultList.get(0);
 					if (superDom.isPacDomain()) {
-						throw new HSAdminException("subdomains to pacdomain " + superDom.getName() + " is not allowed");
+						throw new HSAdminException("subdomains to pacdomain " + superDom.getName() + " are not allowed");
 					}
 					if (loginUser.hasPacAdminRoleFor(superDom.getUser().getPac())) {
 						break;	// same pac

--
Gitblit v1.9.1