Revision b2945bf6
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
563 | 563 |
if ($rows > 1) { |
564 | 564 |
|
565 | 565 |
&select_item; |
566 |
exit;
|
|
566 |
::end_of_request();
|
|
567 | 567 |
|
568 | 568 |
} else { |
569 | 569 |
|
... | ... | |
1010 | 1010 |
$form->{payment_id} = $payment_id; |
1011 | 1011 |
} |
1012 | 1012 |
&update; |
1013 |
exit;
|
|
1013 |
::end_of_request();
|
|
1014 | 1014 |
} |
1015 | 1015 |
|
1016 | 1016 |
$form->{id} = 0 if $form->{saveasnew}; |
... | ... | |
1119 | 1119 |
$form->{payment_id} = $payment_id; |
1120 | 1120 |
} |
1121 | 1121 |
&update; |
1122 |
exit;
|
|
1122 |
::end_of_request();
|
|
1123 | 1123 |
} |
1124 | 1124 |
|
1125 | 1125 |
$form->{id} = 0 if $form->{saveasnew}; |
... | ... | |
1180 | 1180 |
if(!$form->{print_and_save}) { |
1181 | 1181 |
delete @{$form}{ary_diff([keys %{ $form }], [qw(login stylesheet id script type cursor_fokus)])}; |
1182 | 1182 |
edit(); |
1183 |
exit;
|
|
1183 |
::end_of_request();
|
|
1184 | 1184 |
} |
1185 | 1185 |
$main::lxdebug->leave_sub(); |
1186 | 1186 |
} |
... | ... | |
1264 | 1264 |
} |
1265 | 1265 |
# /saving the history |
1266 | 1266 |
$form->info($msg); |
1267 |
exit();
|
|
1267 |
::end_of_request();
|
|
1268 | 1268 |
} |
1269 | 1269 |
$form->error($err); |
1270 | 1270 |
|
... | ... | |
1310 | 1310 |
if (&check_name($form->{vc})) { |
1311 | 1311 |
$form->{payment_id} = $payment_id if $form->{payment_id} eq ""; |
1312 | 1312 |
&update; |
1313 |
exit;
|
|
1313 |
::end_of_request();
|
|
1314 | 1314 |
} |
1315 | 1315 |
|
1316 | 1316 |
$form->{cp_id} *= 1; |
... | ... | |
1333 | 1333 |
|
1334 | 1334 |
if (!$exchangerate) { |
1335 | 1335 |
&backorder_exchangerate($orddate, $buysell); |
1336 |
exit;
|
|
1336 |
::end_of_request();
|
|
1337 | 1337 |
} |
1338 | 1338 |
} |
1339 | 1339 |
|
... | ... | |
1681 | 1681 |
|
1682 | 1682 |
$main::lxdebug->leave_sub(); |
1683 | 1683 |
|
1684 |
exit 0;
|
|
1684 |
::end_of_request();
|
|
1685 | 1685 |
} |
1686 | 1686 |
|
1687 | 1687 |
sub purchase_order { |
Auch abrufbar als: Unified diff
Aufrufe von 'exit' durch eigene Funktion '::end_of_request()' ersetzt.
Außerdem dafür gesorgt, dass Meldungen, die per
$form->show_generic_(error|information) ausgegeben werden, nicht
doppelt angezeigt werden.
Conflicts: