Revision a590a651
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/pe.pl | ||
---|---|---|
195 | 195 |
if(!exists $form->{addition} && $form->{id} ne "") { |
196 | 196 |
$form->{snumbers} = qq|projectnumber_| . $form->{projectnumber}; |
197 | 197 |
$form->{addition} = "SAVED"; |
198 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
198 |
$form->save_history; |
|
199 | 199 |
} |
200 | 200 |
# /saving the history |
201 | 201 |
|
... | ... | |
223 | 223 |
if(!exists $form->{addition}) { |
224 | 224 |
$form->{snumbers} = qq|projectnumber_| . $form->{projectnumber}; |
225 | 225 |
$form->{addition} = "DELETED"; |
226 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
226 |
$form->save_history; |
|
227 | 227 |
} |
228 | 228 |
# /saving the history |
229 | 229 |
$main::lxdebug->leave_sub(); |
Auch abrufbar als: Unified diff
save_history sollte NICHT jedesmal eine neue datenbankverbindung aufmachen.