Update avatarquery.php

fixed errormessages
Merge pull request #13 from McLive/master

Update avatarquery.php #McLive