fixed get_item_url bug
hasattr replaced with getattr
Merge pull request #994 from xliiv/ser-env-fields

fixed get_item_url bug