There are a typos on on line 539, 541 and 544 of the storminvoice.module. There is patch attached

They should read

    if (!variable_get('storm_tax_display', TRUE)) {
      $form['group4'][$i]['tax1']['#type'] = 'hidden';
      $form['group4'][$i]['tax2']['#type'] = 'hidden';
    }
    if (!variable_get('storm_tax2_display', TRUE)) {
      $form['group4'][$i]['tax2']['#type'] = 'hidden';
    }

not

    if (!variable_get('storm_tax_display', TRUE)) {
      $form['group4'][$i]['tax1'] = 'hidden';
      $form['group4'][$i]['tax2'] = 'hidden';
    }
    if (!variable_get('storm_tax2_display', TRUE)) {
      $form['group4'][$i]['tax2'] = 'hidden';
    }

Comments

bigjim’s picture

StatusFileSize
new1.05 KB

same patch better formatting on the patch itself

Magnity’s picture

Status: Active » Closed (duplicate)

Duplicate of #620420: "Fatal error" when trying to edit an Invoice.

This issue has already been fixed in the -dev release.