$description = Incident_ticket::clean_html_tags($description);
         $action      = Incident_ticket::clean_html_tags($action);
 		
 				           
         $description = clean_inc_ic($description, OSS_TEXT, OSS_PUNC_EXT, "\t", "\>", "\<");
         $action      = clean_inc_ic($action,      OSS_TEXT, OSS_PUNC_EXT, "\t", "\>", "\<");
 */
 $_POST['description'] = $description;
 $_POST['action_txt'] = $action;
 $description = empty($description) ? '' : '<!--wiki-->' . $description;
 $action = empty($action) ? '' : '<!--wiki-->' . $action;
 $validation_errors = validate_form_fields('POST', $validate);
 if (is_array($validation_errors) && empty($validation_errors)) {
     $transferred = $transferred_user != '' ? $transferred_user : $transferred_entity;
     if (Incident::chk_status($prev_status) == FALSE || Incident::chk_status($status) == FALSE) {
         $validation_errors['status'] = _('Status not allowed') . '. <br/>' . _("Allowed values are: 'Open', 'Assigned', 'Studying', 'Waiting', 'Testing' or 'Closed'");
     }
     if ($priority < 1 || $priority > 10 || ($prev_prio < 1 || $prev_prio > 10)) {
         $validation_errors['priority'] = _('Priority not allowed') . '. <br/>' . _('Priority should be a value between 1 and 10');
     }
     if ($transferred != '' && !Incident::user_incident_perms($conn, $incident_id, 'newticket')) {
         $validation_errors['extended_validatation'] = _('You are not allowed to transfer this incident because you are neither *admin* or the ticket owner');
     }
     if ($priority != $prev_prio && !Incident::user_incident_perms($conn, $incident_id, 'newticket')) {
         $validation_errors['extended_validatation'] = _('You are not allowed to change priority of this incident because you are neither *admin* or the ticket owner');
     }
     if ($status != $prev_status && !Incident::user_incident_perms($conn, $incident_id, 'newticket')) {
         $validation_errors['extended_validatation'] = _('You are not allowed to change status of this incident because you are neither *admin* or the ticket owner');
     }
 }