Fixed typo preventing adblock to handle images white/black list
Thanks @dsoulayrol !
This commit is contained in:
parent
12328e7732
commit
50ae4ce081
@ -69,7 +69,7 @@ function adblock_plugin_treat_events(&$events) {
|
|||||||
$filter_img = false;
|
$filter_img = false;
|
||||||
}
|
}
|
||||||
$img_except_list = explode(',', trim($adblock_params["img_list"], "\t\n\r\0\x0B,"));
|
$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;
|
$elegant_degradation = (isset($adblock_params["elegant_degradation"]) && $adblock_params["elegant_degradation"] == "1") ? true : false;
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ function adblock_plugin_treat_events(&$events) {
|
|||||||
$filter_img = false;
|
$filter_img = false;
|
||||||
}
|
}
|
||||||
$img_except_list = explode(',', trim($adblock_params["img_list"], "\t\n\r\0\x0B,"));
|
$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;
|
$elegant_degradation = (isset($adblock_params["elegant_degradation"]) && $adblock_params["elegant_degradation"] == "1") ? true : false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user