fix do_author function

Hi,

i've changed intval($author) to $author->ID in do_author function, because intval($author) always return 1, not the real author.

Thx...