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 "