From d78ed105069455bdf43a8d6f4f4ecc99152c55ec Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 16 Feb 2014 04:01:29 -0500
Subject: [PATCH] Fixed: FS#2912 - /etc/suphp/suphp.conf fills with double lines on each update
---
interface/web/client/client_template_edit.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/interface/web/client/client_template_edit.php b/interface/web/client/client_template_edit.php
index 5a379ee..bc5c6d2 100644
--- a/interface/web/client/client_template_edit.php
+++ b/interface/web/client/client_template_edit.php
@@ -55,9 +55,10 @@
function onSubmit() {
global $app;
- //* Resellers shall not be able to create another reseller
+ //* Resellers shall not be able to create another reseller or set reseller specific settings
if($_SESSION["s"]["user"]["typ"] == 'user') {
$this->dataRecord['limit_client'] = 0;
+ $this->dataRecord['limit_domainmodule'] = 0;
}
parent::onSubmit();
--
Gitblit v1.9.1