Query showing for all authors

This comes from my other thread as it is not working as I thought. It is querying the custom post type on the author pages but it is showing all of the Custom Posts on all of the author’s pages, not just the ones written by that author.

Here is the other thread:

https://premium.wpmudev.org/forums/topic/author-custom-post-types

Here is my current code. I have two author pages set up and one custom post type. The one post shows on both author pages.

<?php	global $wp_query;
query_posts( array(
'post_type' => 'ShopResources' ,
'author=' . $authorid,
'showposts' => 20)
); ?>
<h3 align="center">Resources For Sale</h3>
<ul>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>