Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
almasaeed2010 committed Jan 19, 2018
1 parent d9bdba2 commit dc57763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/gene_search.form.inc
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function tripal_elasticsearch_gene_search_index_results($display_download = FALS
try {
$es = new ESInstance();
} catch (Exception $exception) {
drupal_set_message('An error encountered whil eprocessing your request. Please try again later.', 'error');
drupal_set_message('An error encountered while processing your request. Please try again later.', 'error');
watchdog('tripal_elasticsearch', 'Feature/Gene search form resulted in this error: '.$exception->getMessage(), [], WATCHDOG_ERROR);
return '';
}
Expand All @@ -234,7 +234,7 @@ function tripal_elasticsearch_gene_search_index_results($display_download = FALS
$results = $es->setTableSearchParams('gene_search_index', '', $query)
->paginate(15);
} catch (Exception $exception) {
drupal_set_message('An error encountered whil eprocessing your request. Please try again later.', 'error');
drupal_set_message('An error encountered while processing your request. Please try again later.', 'error');
watchdog('tripal_elasticsearch', 'Feature/Gene search form resulted in this error: '.$exception->getMessage(), [], WATCHDOG_ERROR);
return '';
}
Expand Down

0 comments on commit dc57763

Please sign in to comment.