fix do_author function

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