]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/is.pl
Dispatcher: end_of_request() sub aus main namespace verbannt
[mfinanz.git] / bin / mozilla / is.pl
index aa9a9a8618e6d7d733e64f965f6d63d60a9075b7..fa5e31903c08b8f612244efcfe57c11fd814f586 100644 (file)
@@ -35,6 +35,7 @@ use SL::FU;
 use SL::IS;
 use SL::PE;
 use SL::OE;
+use SL::MoreCommon qw(restore_form save_form);
 use Data::Dumper;
 use DateTime;
 use List::MoreUtils qw(uniq);
@@ -604,7 +605,7 @@ sub update {
       if ($rows > 1) {
 
         select_item(mode => 'IS', pre_entered_qty => $form->{"qty_$i"});
-        ::end_of_request();
+        $::dispatcher->end_request;
 
       } else {
 
@@ -759,7 +760,7 @@ sub post {
   # if oldcustomer ne customer redo form
   if (&check_name('customer')) {
     &update;
-    ::end_of_request();
+    $::dispatcher->end_request;
   }
 
   if ($myconfig{mandatory_departments} && !$form->{department_id}) {