umbraco/Umbraco-CMS — pull request #249 by rsoeteman (2013-11-14 13:50:26+00:00)
Title: Fix for  U4-3529  Ysod editing Partial View

Fix for http://issues.umbraco.org/issue/U4-3529 Select 1 will return null which can't be converted to a type in PetaPoco. Select Count(*) will always return a result so when count is greater than 0 we have parameters