Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a590a651

Von Sven Schöling vor etwa 14 Jahren hinzugefügt

  • ID a590a6518025280c2d6e76c87641764ca6198521
  • Vorgänger 9e2386ab
  • Nachfolger 6aa467fa

save_history sollte NICHT jedesmal eine neue datenbankverbindung aufmachen.

Unterschiede anzeigen:

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