From 27b449fd98b49d3bcac13b72d9f882bd5acdf664 Mon Sep 17 00:00:00 2001 From: Nicolas Roman Date: Thu, 11 Jul 2019 14:19:09 +0200 Subject: [PATCH] check that the non_standard domain is not already in the session variable --- inc/webadmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/webadmin.php b/inc/webadmin.php index bc61a7b..6e91a93 100644 --- a/inc/webadmin.php +++ b/inc/webadmin.php @@ -79,7 +79,7 @@ if (!$conf['cluster']) { } // current vhost isn't standard and thus not manageable by evoadmin-web - if (!$data_split[9]) { + if (!$data_split[9] && (!in_array($data_split[0], $_SESSION['non_standard']))) { array_push($_SESSION['non_standard'], $data_split[0]); }