diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index f28c6ca10d620..53ef8a48b90b9 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -2926,11 +2926,7 @@ class FilterCompiler { processModifierOption(modifier, value) { if ( this.modifyType !== undefined ) { return false; } this.modifyType = modifier; - if ( value !== undefined ) { - this.modifyValue = value; - } else if ( this.action === AllowAction ) { - this.modifyValue = ''; - } + this.modifyValue = value || ''; return true; }