$Draft->SetContentType( $ARGS{'UpdateContentType'} || 'text/plain' );
} else {
$Draft->Create( Name => 'Draft-'.$Ticket->id,
$Draft->SetContentType( $ARGS{'UpdateContentType'} || 'text/plain' );
} else {
$Draft->Create( Name => 'Draft-'.$Ticket->id,
Content => $ARGS{'UpdateContent'},
ContentType => $ARGS{'UpdateContentType'} || 'text/plain',
);
Content => $ARGS{'UpdateContent'},
ContentType => $ARGS{'UpdateContentType'} || 'text/plain',
);