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

5.x
Dries Buytaert 2006-11-21 19:30:07 +00:00
parent e89c6c1da7
commit 8996aad911
1 changed files with 2 additions and 4 deletions

View File

@ -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'])) {