Changeset 29738


Ignore:
Timestamp:
09/22/14 15:21:11 (5 years ago)
Author:
plg
Message:

batch_manager_register_filters is now a trigger_change (instead of trigger_notify)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/batch_manager_added_by/main.inc.php

    r29378 r29738  
    7474} 
    7575 
    76 add_event_handler('batch_manager_register_filters', 'bmab_register_filter', 50, 2); 
    77 function bmab_register_filter() 
     76add_event_handler('batch_manager_register_filters', 'bmab_register_filter'); 
     77function bmab_register_filter($filters) 
    7878{ 
    79   global $page; 
    80  
    8179  if (isset($_POST['filter_added_by_use'])) 
    8280  { 
    8381    check_input_parameter('filter_added_by', $_POST, false, PATTERN_ID); 
    84     $_SESSION['bulk_manager_filter']['added_by'] = $_POST['filter_added_by']; 
     82     
     83    $filters['added_by'] = $_POST['filter_added_by']; 
    8584  } 
     85 
     86  return $filters; 
    8687} 
    8788 
Note: See TracChangeset for help on using the changeset viewer.