diff --git a/admin/manage_categories.php b/admin/manage_categories.php index 9b8a9dc0..aaf9df54 100644 --- a/admin/manage_categories.php +++ b/admin/manage_categories.php @@ -37,6 +37,7 @@ define('PAGE_TITLE', 'ADMIN_CATEGORIES'); require(HESK_PATH . 'hesk_settings.inc.php'); require(HESK_PATH . 'inc/common.inc.php'); require(HESK_PATH . 'inc/admin_functions.inc.php'); +require(HESK_PATH . 'inc/mail_functions.inc.php'); hesk_load_database_functions(); hesk_session_start(); @@ -49,9 +50,9 @@ hesk_checkPermission('can_man_cat'); // Possible priorities $priorities = array( 3 => array('value' => 3, 'text' => $hesklang['low'], 'formatted' => $hesklang['low']), - 2 => array('value' => 2, 'text' => $hesklang['medium'], 'formatted' => '' . $hesklang['medium'] . ''), - 1 => array('value' => 1, 'text' => $hesklang['high'], 'formatted' => '' . $hesklang['high'] . ''), - 0 => array('value' => 0, 'text' => $hesklang['critical'], 'formatted' => '' . $hesklang['critical'] . ''), + 2 => array('value' => 2, 'text' => $hesklang['medium'], 'formatted' => '' . $hesklang['medium'] . ''), + 1 => array('value' => 1, 'text' => $hesklang['high'], 'formatted' => '' . $hesklang['high'] . ''), + 0 => array('value' => 0, 'text' => $hesklang['critical'], 'formatted' => '' . $hesklang['critical'] . ''), ); /* What should we do? */ @@ -106,221 +107,232 @@ while ($mycat = hesk_dbFetchAssoc($res)) { $options .= '>' . $mycat['name'] . ''; } ?> -