Revision a590a651
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/dn.pl | ||
---|---|---|
178 | 178 |
if(!exists $form->{addition} && $form->{id} ne "") { |
179 | 179 |
$form->{snumbers} = qq|dunning_id_| . $form->{"dunning_id"}; |
180 | 180 |
$form->{addition} = "SAVED FOR DUNNING"; |
181 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
181 |
$form->save_history; |
|
182 | 182 |
} |
183 | 183 |
# /saving the history |
184 | 184 |
$form->redirect($locale->text('Dunning Process Config saved!')); |
... | ... | |
247 | 247 |
if(!exists $form->{addition} && $form->{id} ne "") { |
248 | 248 |
$form->{snumbers} = qq|dunning_id_| . $form->{"dunning_id"}; |
249 | 249 |
$form->{addition} = "DUNNING STARTED"; |
250 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
250 |
$form->save_history; |
|
251 | 251 |
} |
252 | 252 |
# /saving the history |
253 | 253 |
|
Auch abrufbar als: Unified diff
save_history sollte NICHT jedesmal eine neue datenbankverbindung aufmachen.