replace
drupal_alter('codes', $codes);

with

    $hooks = array('codes');
    $hooks[] = "codes_{$module}";
    $hooks[] = "codes_{$module}_{$codeset}";
    drupal_alter($hooks, $codes, $module, $codeset);

Comments

  • 225b55f committed on 7.x-1.x
    #2417429 fix hook_codes_alter
    
Pasqualle’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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