[Koha-bugs] [Bug 16750] Redirect from selectbranchprinter.pl to additem.pl causes software error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 7 16:14:54 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16750

--- Comment #10 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #8)
> (In reply to Srdjan Jankovic from comment #7)
> > Jonathan, maybe a silly question: wouldn't it be better to get referer from
> > the header in selectbranchprinter.pl?
> 
> It's what does the current code, but the HTTP_REFERER does not contain the
> POST params.
> But actually I am not sure it's a good idea: with this patch the form will
> be submitted again and the item will be saved a second time.

I think the creation of the extra item is blocker for your alternative patch.
If you can find a way to avoid that I'd be happy to sign yours. Otherwise my
patch, though a more specific case, is safer.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list