fixed empty array fields appearing on myprofile page.
Merge pull request #52 from gavlu/fixShowFunction

fixed empty array fields appearing on myprofile page.