Revision a590a651
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1063 | 1063 |
if(!exists $form->{addition}) { |
1064 | 1064 |
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber}; |
1065 | 1065 |
$form->{addition} = "SAVED"; |
1066 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
1066 |
$form->save_history; |
|
1067 | 1067 |
} |
1068 | 1068 |
# /saving the history |
1069 | 1069 |
|
... | ... | |
1171 | 1171 |
if(!exists $form->{addition}) { |
1172 | 1172 |
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber}; |
1173 | 1173 |
$form->{addition} = "SAVED"; |
1174 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
1174 |
$form->save_history; |
|
1175 | 1175 |
} |
1176 | 1176 |
# /saving the history |
1177 | 1177 |
|
... | ... | |
1259 | 1259 |
if(!exists $form->{addition}) { |
1260 | 1260 |
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber}; |
1261 | 1261 |
$form->{addition} = "DELETED"; |
1262 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
1262 |
$form->save_history; |
|
1263 | 1263 |
} |
1264 | 1264 |
# /saving the history |
1265 | 1265 |
$form->info($msg); |
Auch abrufbar als: Unified diff
save_history sollte NICHT jedesmal eine neue datenbankverbindung aufmachen.