From 49d631303f1e053e4b4a3f3c38b26c0f28986bfc Mon Sep 17 00:00:00 2001
From: Dominik <info@profi-webdesign.net>
Date: Fri, 04 Apr 2014 17:42:42 -0400
Subject: [PATCH] readded removed line

---
 interface/web/sites/form/web_vhost_domain.tform.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/interface/web/sites/form/web_vhost_domain.tform.php b/interface/web/sites/form/web_vhost_domain.tform.php
index 071510f..0c7db73 100644
--- a/interface/web/sites/form/web_vhost_domain.tform.php
+++ b/interface/web/sites/form/web_vhost_domain.tform.php
@@ -613,7 +613,8 @@
 	);
 }
 
-if($_SESSION["s"]["user"]["typ"] == 'admin') {
+if($_SESSION["s"]["user"]["typ"] == 'admin'
+	|| ($web_config['reseller_can_use_options'] == 'y' && $app->auth->has_clients($_SESSION['s']['user']['userid']))) {
 
 	$form["tabs"]['advanced'] = array (
 		'title'  => "Options",

--
Gitblit v1.9.1