Fixed "Patname cannot be converted to String" exception, by adding a exlicit cast.
Fixed "Patname cannot be converted to String" exception, by adding a exlicit cast.

refinery/refinerycms,gwagener/refinerycms,johanb/refinerycms,kappiah/refinerycms,stefanspicer/refinerycms,Retimont/refinerycms,LytayTOUCH/refinerycms,simi/refinerycms,louim/refinerycms,donabrams/refinerycms,mlinfoot/refinerycms,mabras/refinerycms,aguzubiaga/refinerycms,clanplaid/wow.clanplaid.net,anitagraham/refinerycms,anitagraham/refinerycms,sideci-sample/sideci-sample-refinerycms,aguzubiaga/refinerycms,donabrams/refinerycms,refinery/refinerycms,trevornez/refinerycms,gwagener/refinerycms,LytayTOUCH/refinerycms,chrise86/refinerycms,trevornez/refinerycms,SmartMedia/refinerycms-with-custom-icons,koa/refinerycms,stakes/refinerycms,Eric-Guo/refinerycms,refinery/refinerycms,mojarra/myrefinerycms,pcantrell/refinerycms,mlinfoot/refinerycms,KingLemuel/refinerycms,mabras/refinerycms,Eric-Guo/refinerycms,koa/refinerycms,hoopla-software/refinerycms,stefanspicer/refinerycms,mkaplan9/refinerycms,mobilityhouse/refinerycms,louim/refinerycms,johanb/refinerycms,johanb/refinerycms,aguzubiaga/refinerycms,simi/refinerycms,chrise86/refinerycms,pcantrell/refinerycms,Retimont/refinerycms,stefanspicer/refinerycms,bricesanchez/refinerycms,mkaplan9/refinerycms,sideci-sample/sideci-sample-refinerycms,hoopla-software/refinerycms,trevornez/refinerycms,anitagraham/refinerycms,bryanmtl/g-refinerycms,clanplaid/wow.clanplaid.net,KingLemuel/refinerycms,bryanmtl/g-refinerycms,bricesanchez/refinerycms,stakes/refinerycms,kappiah/refinerycms,SmartMedia/refinerycms-with-custom-icons,mlinfoot/refinerycms,chrise86/refinerycms,KingLemuel/refinerycms,Eric-Guo/refinerycms,kappiah/refinerycms,Retimont/refinerycms,kelkoo-services/refinerycms,mobilityhouse/refinerycms,LytayTOUCH/refinerycms,simi/refinerycms,kelkoo-services/refinerycms,mabras/refinerycms,gwagener/refinerycms,mkaplan9/refinerycms,simi/refinerycms,hoopla-software/refinerycms,mojarra/myrefinerycms