Commit 8996aad9 authored by Dries's avatar Dries

- Patch #98343 by Moshe: small code cleanup. Improved usage of FAPI2.

parent e89c6c1d
......@@ -1424,11 +1424,9 @@ function theme_node_filters($form) {
/**
* Process result from node administration filter form.
*/
function node_filter_form_submit() {
global $form_values;
$op = $_POST['op'];
function node_filter_form_submit($form_id, $form_values) {
$filters = node_filters();
switch ($op) {
switch ($form_values['op']) {
case t('Filter'):
case t('Refine'):
if (isset($form_values['filter'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment