Only include if the domain_setting_edit permission has been assigned to the current user.

This commit is contained in:
markjcrane
2015-07-24 08:59:13 -06:00
parent 9e24112904
commit 089f270957

View File

@@ -706,7 +706,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "</form>";
if ($action == "update") {
if (permission_exists('domain_setting_edit') && $action == "update") {
require "domain_settings.php";
}