diff --git a/modules/search.module b/modules/search.module index c7422ac81c25..a4fe6dd44af0 100644 --- a/modules/search.module +++ b/modules/search.module @@ -376,7 +376,7 @@ function search_view() { // Only perform search if there is non-whitespace search term: if (trim($keys)) { // Log the search keys: - watchdog('search', t('Search: %keys.', array('%keys' => "$keys")), l(t('view results'), 'search', NULL, 'keys='. urlencode($keys))); + watchdog('search', t('Search: %keys.', array('%keys' => "$keys")), l(t('results'), 'search', NULL, 'keys='. urlencode($keys))); // Collect the search results: $results = search_data($keys); diff --git a/modules/search/search.module b/modules/search/search.module index c7422ac81c25..a4fe6dd44af0 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -376,7 +376,7 @@ function search_view() { // Only perform search if there is non-whitespace search term: if (trim($keys)) { // Log the search keys: - watchdog('search', t('Search: %keys.', array('%keys' => "$keys")), l(t('view results'), 'search', NULL, 'keys='. urlencode($keys))); + watchdog('search', t('Search: %keys.', array('%keys' => "$keys")), l(t('results'), 'search', NULL, 'keys='. urlencode($keys))); // Collect the search results: $results = search_data($keys);