View | Details | Raw Unified | Return to bug 23010
Collapse All | Expand All

(-)a/C4/Items.pm (-2 / +11 lines)
Lines 1732-1738 sub ToggleNewStatus { Link Here
1732
                $item->$field($value);
1732
                $item->$field($value);
1733
                push @{ $report->{$itemnumber} }, $substitution;
1733
                push @{ $report->{$itemnumber} }, $substitution;
1734
            }
1734
            }
1735
            $item->store unless $report_only;
1735
            unless ($report_only) {
1736
                try {
1737
                    $item->store;
1738
                } catch {
1739
                    push @{ $report->{$itemnumber} }, {
1740
                        field => 'ERROR',
1741
                        error => 1,
1742
                        value => $_->error,
1743
                    }
1744
                }
1745
            }
1736
        }
1746
        }
1737
    }
1747
    }
1738
1748
1739
- 

Return to bug 23010