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';
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | storminvoice.hidden.revised.patch | 1.05 KB | bigjim |
| storminvoice.hidden.patch | 358 bytes | bigjim |
Comments
Comment #1
bigjim commentedsame patch better formatting on the patch itself
Comment #2
Magnity commentedDuplicate of #620420: "Fatal error" when trying to edit an Invoice.
This issue has already been fixed in the -dev release.