https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39944
Pedro Amorim <pedro.amo...@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #182669|0 |1 is obsolete| | --- Comment #4 from Pedro Amorim <pedro.amo...@openfifth.co.uk> --- Created attachment 182673 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182673&action=edit Bug 39944: Trim form params Test plan, ktd, before applying patch: 1) Enable ILLModule sys pref and create a new ILL request: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 2) Pick type 'journal article' and enter ' 123' to DOI (notice the leading white space) 3) Enter a cardnumber and a library. Click 'Create'. 4) Run the following SQL query (koha-mysql kohadev): $ SELECT * from illrequestattributes where illrequest_id = '<put your request ID here>' and type ='doi'; 5) Notice the value is saved with the leading whitespace. Apply patch. Repeat. Notice it no longer saves with the leading white space. Sponsored-by: NHS England -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/