Revision e6f429e4
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1937 | 1937 |
} |
1938 | 1938 |
|
1939 | 1939 |
relink_accounts(); |
1940 |
|
|
1941 |
$form->error($err) if (!OE->save(\%myconfig, \%$form)); |
|
1942 |
|
|
1940 | 1943 |
# saving the history |
1941 | 1944 |
if(!exists $form->{addition}) { |
1942 | 1945 |
$form->{addition} = "SAVED"; |
1943 | 1946 |
$form->save_history($form->dbconnect(\%myconfig)); |
1944 | 1947 |
} |
1945 |
# /saving the history
|
|
1948 |
# /saving the history |
|
1946 | 1949 |
|
1947 |
$form->redirect( |
|
1948 |
$form->{label} . " $form->{$ordnumber} " . $locale->text('saved!')) |
|
1949 |
if (OE->save(\%myconfig, \%$form)); |
|
1950 |
$form->error($err); |
|
1950 |
$form->redirect($form->{label} . " $form->{$ordnumber} " . |
|
1951 |
$locale->text('saved!')); |
|
1951 | 1952 |
|
1952 | 1953 |
$lxdebug->leave_sub(); |
1953 | 1954 |
} |
... | ... | |
2017 | 2018 |
unless $form->{$ordnumber}; |
2018 | 2019 |
|
2019 | 2020 |
relink_accounts(); |
2021 |
|
|
2022 |
OE->save(\%myconfig, \%$form); |
|
2023 |
|
|
2020 | 2024 |
# saving the history |
2021 | 2025 |
if(!exists $form->{addition}) { |
2022 | 2026 |
$form->{addition} = "SAVED"; |
... | ... | |
2024 | 2028 |
} |
2025 | 2029 |
# /saving the history |
2026 | 2030 |
|
2027 |
OE->save(\%myconfig, \%$form); |
|
2028 | 2031 |
$form->{simple_save} = 1; |
2029 | 2032 |
if(!$form->{print_and_save}) { |
2030 | 2033 |
set_headings("edit"); |
Auch abrufbar als: Unified diff
Speichern der Historie nach Speichern des Belegs selber.