Fix for issue where object type resolution would fail if the item was no...

Hi,

I've been using Glass Mapper for Umbraco to build a new website and came across a major issue where my domain objects were being resolved as NULL if changes were saved on an item and not published immediately. As it turns out, the wrong method was being used to resolve the published item in Umbraco.

I have made the necessary changes and tested them in my website build.

Please let me know if you need anything else.

Thanks,

Dan.