- Patch #98343 by Moshe: small code cleanup. Improved usage of FAPI2.
parent
e89c6c1da7
commit
8996aad911
|
@ -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'])) {
|
||||
|
|
Loading…
Reference in New Issue