Updating to custom_search 7.x-1.15 on a Drupal 7 site which has only 1 language (en) raises the following error.

Notice: Undefined index: language in custom_search_form_alter() (line 145 of /public_html/sites/all/modules/custom_search/custom_search.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Agileware’s picture

Status: Active » Needs review
FileSize
495 bytes

Patch attached to address this issue. For review.

jdanthinne’s picture

Patch was not ok, but I've understood what you meant. Fixed in dev version.
http://drupalcode.org/project/custom_search.git/commit/e20f95c

jdanthinne’s picture

Status: Needs review » Fixed

  • Commit e20f95c on 7.x-1.x by jdanthinne:
    [#2240125] by Agileware : don't try to remove language selectors in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.