Révision 30d5b9c5
Ajouté par Mathieu Schiano Di Schiabica il y a environ 8 ans
drupal7/modules/search/search.pages.inc | ||
---|---|---|
49 | 49 |
// which will get us back to this page callback. In other words, the search |
50 | 50 |
// form submits with POST but redirects to GET. This way we can keep |
51 | 51 |
// the search query URL clean as a whistle. |
52 |
if (empty($_POST['form_id']) || $_POST['form_id'] != 'search_form') {
|
|
52 |
if (empty($_POST['form_id']) || ($_POST['form_id'] != 'search_form' && $_POST['form_id'] != 'search_block_form')) {
|
|
53 | 53 |
$conditions = NULL; |
54 | 54 |
if (isset($info['conditions_callback']) && function_exists($info['conditions_callback'])) { |
55 | 55 |
// Build an optional array of more search conditions. |
Formats disponibles : Unified diff
Update to 7.42