mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix reference issue in filters (fixes #110)
This commit is contained in:
@@ -378,7 +378,7 @@ namespace SabreTools.Core.Filter
|
||||
operation = GetOperation(match.Groups["operation"].Value);
|
||||
|
||||
// Only non-zero length values are counted as non-null
|
||||
if (value?.Length > 0)
|
||||
if (match.Groups["value"]?.Value?.Length > 0)
|
||||
value = match.Groups["value"].Value;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user