Skip to content
Snippets Groups Projects
Commit 5423d36f authored by Mathieu Lu's avatar Mathieu Lu
Browse files

domain filter: does not depend on Views, would generate warnings since the...

domain filter: does not depend on Views, would generate warnings since the settings would be set to the empty string, rather than an empty array.
parent cd790cee
No related branches found
No related tags found
No related merge requests found
......@@ -1090,6 +1090,7 @@ function boost_admin_boost_performance_page_submit($form, &$form_state) {
}
}
unset($form_state['values'][$key]);
}
//split white/blacklists into arrays
$whitelist_values = explode("\n", $form_state['values']['boost_domain_whitelist']);
......@@ -1118,8 +1119,6 @@ function boost_admin_boost_performance_page_submit($form, &$form_state) {
asort($blacklist);
variable_set('boost_domain_blacklist', $blacklist);
unset($form_state['values']['boost_domain_blacklist']);
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment