slipperybeans
2008-08-24T08:47:37Z
We came across a bug where we encountered a null searchText input parameter to the BadWordReplace method in General.cs

It happened to come up when "All" topics were being displayed and the code was trying to render a listing for a moved topic.

Regardless of whether or not the moved topic was really at issue, however
I addressed the shortcoming in BadWordReplace by adding:

if (strReturn != null)


just after the
string strReturn = searchText
,
with the clause ending just before
return strReturn;

Sponsor
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2008-08-25T22:29:51Z
Already fixed -- thanks for the bug report though.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved