This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Joe,
Parameter count should be 4.
Diff below:
diff --git a/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs b/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs --- a/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs +++ b/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs @@ -306,7 +306,7 @@ }
}
- SqlParameterHelper sph = new SqlParameterHelper(GetConnectionString(), "mp_FriendlyUrls_SelectSearchPage", 34);
+ SqlParameterHelper sph = new SqlParameterHelper(GetConnectionString(), "mp_FriendlyUrls_SelectSearchPage", 4);
sph.DefineSqlParameter("@SiteID", SqlDbType.Int, ParameterDirection.Input, siteId);
sph.DefineSqlParameter("@SearchTerm", SqlDbType.NVarChar, 255, ParameterDirection.Input, searchTerm);
sph.DefineSqlParameter("@PageNumber", SqlDbType.Int, ParameterDirection.Input, pageNumber);
Thanks for the bug report and fix Ben! Just in time as I'm on the verge of a new release.
Best,
Joe
Great stuff.
While your there, don't suppose you could get rid of this line break. Such things are hard to fix with just css :)
diff --git a/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx b/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx --- a/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx +++ b/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx @@ -92,8 +92,6 @@ <asp:Literal ID="litComment" runat="server" EnableViewState="false" Text='<%# DataBinder.Eval(Container.DataItem, "Comment").ToString() %>' />
</NeatHtml:UntrustedContent>
-
- <br />
</div>
</ItemTemplate>
</asp:Repeater>
Ignore that Joe (unless of course it shouldn't be there).
There's another <br/> tag that seems to be rendered above the feed links but I can't find it in the code.