MH: SR2 Regex Bugfix
This commit is contained in:
@@ -6,6 +6,7 @@ using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using System.Text.RegularExpressions;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BeWo.Report.DefaultReports
|
||||
{
|
||||
@@ -34,7 +35,7 @@ namespace BeWo.Report.DefaultReports
|
||||
if (pRO.FehlkontakteString != null && ii.RateFactor == 0)
|
||||
{
|
||||
Zwischensumme.Visible = true;
|
||||
if (ii.ItemDescription != null)
|
||||
if (ii.ItemDescription.IsNullOrEmpty())
|
||||
{
|
||||
ii.DetailDescription = Regex.Replace(ii.DetailDescription, ii.ItemDescription, "Fehlkontakte");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user