https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33290
Marcel de Rooy <m.de.r...@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148595|0 |1 is obsolete| | --- Comment #3 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> --- Created attachment 148630 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148630&action=edit Bug 33290: Fix incorrect variable in http-client.js Silly error from commit 821808ec31176d662e518418c9ff8a71948e1a4b Bug 32939: Use APIClient to replace PATCH requests + const body = params.body + ? typeof str === "string" + ? params.body + : JSON.stringify(params.body) + : undefined; typeof str === "string" must be typeof params.body === "string" Test plan: With this patch, bug 33289 is not working properly. The body contains "pref_var=value" instead of pref_var=value and the syspref `var` contains `value"` Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Pedro Amorim <pedro.amo...@ptfs-europe.com> Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl> -- 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/