Download & Extend

Incorrect function call *_get_from_key

Project:Advanced Help Injection and Export
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

In the generated help module code, this function ...

function mymodule_form_alter(&$form, $form_state, $form_id) {
  mymodule_step_form($form, $form_id, 'mymodule_help_link');
  $form['#description'] = isset($form['#description']) ? mymodule_get_from_key('form', $form_id) . ' ' . $form['#description'] : mymodule_get_from_key('form', $form_id);
}

incorrectly calls

function mymodule_get_from_key($key) {

which only expects one argument.