]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ap.pl
...und das gemoddete Templating
[mfinanz.git] / bin / mozilla / ap.pl
index 57822abc9e806c83969f4bba2b67b103c798df06..627cbee87d1077a836caf8b6ed657fcb3d4c50a8 100644 (file)
@@ -781,7 +781,7 @@ sub form_footer {
 
     # ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it
     print qq| <input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> |
-      if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap'));
+      if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap', $form->{id}));
 
     print qq| <input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|">
               <input class=submit type=submit name=action value="| . $locale->text('Use As Template') . qq|">