diff --git a/admin/manage_permission_templates.php b/admin/manage_permission_templates.php
index d82f36b9..318e1315 100644
--- a/admin/manage_permission_templates.php
+++ b/admin/manage_permission_templates.php
@@ -52,8 +52,7 @@ hesk_checkPermission('can_man_cat');
/* What should we do? */
if ( $action = hesk_REQUEST('a') )
{
- if ($action == 'linkcode') {generate_link_code();}
- elseif ( defined('HESK_DEMO') ) {hesk_process_messages($hesklang['ddemo'], 'manage_categories.php', 'NOTICE');}
+ if ($action == 'save') {save();}
}
/* Print header */
@@ -87,43 +86,49 @@ else {return false;}
?>
-
-
-
-
- |
- |
- |
-
-
-
-
- |
- |
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
+
+
+
+
+
+ |
+ |
+ |
+
+
+
+
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">