https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37993
Bug ID: 37993
Summary: Having a single EDI EAN account produces a bad
redirect
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Acquisitions
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
In acqui/edi_ean.pl:
if ( @eans == 1 ) {
my $ean = $eans[0]->ean;
print $query->redirect(
"/cgi-bin/koha/acqui/basket.pl?basketno=$basketno&op=cud-ediorder&ean=$ean"
);
}
So if you only have the single 'Library EAN' account Koha redirects to:
/cgi-bin/koha/acqui/basket.pl?basketno=$basketno&op=cud-ediorder&ean=$ean
This causes an error "op 'cud-ediorder' must not start with cud-"
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/