Révision c9e51f47
Ajouté par Julien Enselme il y a environ 7 ans
drupal7/modules/search/search.pages.inc | ||
---|---|---|
57 | 57 |
} |
58 | 58 |
// Only search if there are keywords or non-empty conditions. |
59 | 59 |
if ($keys || !empty($conditions)) { |
60 |
// Log the search keys. |
|
61 |
watchdog('search', 'Searched %type for %keys.', array('%keys' => $keys, '%type' => $info['title']), WATCHDOG_NOTICE, l(t('results'), 'search/' . $info['path'] . '/' . $keys)); |
|
62 |
|
|
60 |
if (variable_get('search_logging', TRUE)) { |
|
61 |
// Log the search keys. |
|
62 |
watchdog('search', 'Searched %type for %keys.', array('%keys' => $keys, '%type' => $info['title']), WATCHDOG_NOTICE, l(t('results'), 'search/' . $info['path'] . '/' . $keys)); |
|
63 |
} |
|
63 | 64 |
// Collect the search results. |
64 | 65 |
$results = search_data($keys, $info['module'], $conditions); |
65 | 66 |
} |
Formats disponibles : Unified diff
Udpate to 7.54