Fixed typo preventing adblock to handle images white/black list

Thanks @dsoulayrol !
This commit is contained in:
Phyks 2014-03-13 11:05:59 +01:00
parent 12328e7732
commit 50ae4ce081
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ function adblock_plugin_treat_events(&$events) {
$filter_img = false;
}
$img_except_list = explode(',', trim($adblock_params["img_list"], "\t\n\r\0\x0B,"));
$img_except_list = adblock_trim_list($flash_except_list);
$img_except_list = adblock_trim_list($img_except_list);
$elegant_degradation = (isset($adblock_params["elegant_degradation"]) && $adblock_params["elegant_degradation"] == "1") ? true : false;

View File

@ -69,7 +69,7 @@ function adblock_plugin_treat_events(&$events) {
$filter_img = false;
}
$img_except_list = explode(',', trim($adblock_params["img_list"], "\t\n\r\0\x0B,"));
$img_except_list = adblock_trim_list($flash_except_list);
$img_except_list = adblock_trim_list($img_except_list);
$elegant_degradation = (isset($adblock_params["elegant_degradation"]) && $adblock_params["elegant_degradation"] == "1") ? true : false;