From 2bed6fa165d016f85f5f4fd5653ef9d2da78c7db Mon Sep 17 00:00:00 2001 From: Anthony F McInerney Date: Mon, 14 Sep 2020 16:54:07 +0100 Subject: [PATCH] Add service templates --- includes/html/pages/addsrv-template.inc.php | 2 +- includes/html/print-service-add-template.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/html/pages/addsrv-template.inc.php b/includes/html/pages/addsrv-template.inc.php index 28f0673318..364980bee3 100644 --- a/includes/html/pages/addsrv-template.inc.php +++ b/includes/html/pages/addsrv-template.inc.php @@ -5,7 +5,7 @@ $no_refresh = true; if (!Auth::user()->hasGlobalAdmin()) { include 'includes/html/error-no-perm.inc.php'; } else { - if ($vars['addsrvtp']) { + if ($vars['addsrv-template']) { if (Auth::user()->hasGlobalAdmin()) { $updated = '1'; diff --git a/includes/html/print-service-add-template.inc.php b/includes/html/print-service-add-template.inc.php index fc7f8649f3..78bcf53f00 100644 --- a/includes/html/print-service-add-template.inc.php +++ b/includes/html/print-service-add-template.inc.php @@ -10,7 +10,7 @@ echo "