Error
Notice: Undefined index: site_404 in navigation404_site_404_submit() (line 42 of navigation404.module).

Step to reproduce the error
- multilingual drupal with at least two language
- "Variable translation" enabled
- go to admin/config/regional/i18n/variable and check "Default 404" in "site information" tab
- go to admin/config/system/site-information click on the second language and try to submit the form

if you fill in site_404, the value is well saved.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dimitriseng’s picture

I had the same issue.

Asmon’s picture

Hi,

here is a patch that avoid displaying error message.

Asmon’s picture

sorry but i made a mistake in the patch naming conventions so here is the patch with the good name

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
517 bytes

Simplified to just use if(empty()).

brentg’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

This patch works and looks clean.