diff --git a/scripts/tools/easylist-extend.php b/scripts/tools/easylist-extend.php index 01887c41..c0ba1028 100644 --- a/scripts/tools/easylist-extend.php +++ b/scripts/tools/easylist-extend.php @@ -685,7 +685,7 @@ foreach($ARR_WHITE_RULE_LIST as $row => $v){ continue; } - if(array_key_exists("@@||${matches[1]}^", $ARR_WHITE_RULE_BLK_LIST)){ + if(array_key_exists("@@||{$matches[1]}^", $ARR_WHITE_RULE_BLK_LIST)){ continue; } @@ -695,7 +695,7 @@ foreach($ARR_WHITE_RULE_LIST as $row => $v){ if($v === 1){ $wrote_whitelist[$matches[1]] = null; - $attached_content .= "@@||${matches[1]}^\n"; + $attached_content .= "@@||{$matches[1]}^\n"; $line_count++; continue; } @@ -715,7 +715,7 @@ foreach($ARR_WHITE_RULE_LIST as $row => $v){ continue; } - $attached_content .= "@@||${origin_white_rule}^\n"; + $attached_content .= "@@||{$origin_white_rule}^\n"; $line_count++; }