One element in array is missing.

line 1594

  $access_types = array('user' => t('username'), 'mail' => t('e-mail'));

i think...

  $access_types = array('user' => t('username'), 'mail' => t('e-mail'), 'host' => t('host'));
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

magico’s picture

Version: 4.7.0 » x.y.z
Status: Active » Closed (fixed)

Where? In what function?

Takafumi’s picture

Status: Closed (fixed) » Active

It's minor bug, but the type of the rule will not be shown in the confirmation message when the access rule is deleted.

Takafumi’s picture

Status: Active » Needs review
FileSize
511 bytes

This patch to fix it.

edmund.kwok’s picture

Patch works but please rerolls from drupal root :-)

Takafumi’s picture

FileSize
772 bytes

ok, I reworked it.

asimmonds’s picture

FileSize
793 bytes

Patch in #5 doesn't apply properly, re-rolled from Drupal root.

edmund.kwok’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies cleanly to HEAD. Minor bug, minor fix, RTBC.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Dries’s picture

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)