Output author and description if description is not empty

<?php
$authordesc = get_the_author_meta( 'description' );

if ( ! empty ( $authordesc ) )
{
?>
    <a href="https://wordpress.stackexchange.com/questions/11203/<?php
    echo get_author_posts_url( get_the_author_meta("id' ) );
    ?>"><?php
    the_author();
    ?></a>
    <?php
    echo wpautop( $authordesc );
}