[koha-commits] main Koha release repository branch master updated. v3.22.00-521-gd6329e4
Git repo owner
gitmaster at git.koha-community.org
Mon Feb 22 21:27:02 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via d6329e4f96e46a5e2fbe0ced4d385c42d47e2a84 (commit)
from ea69693997fa5ea6f6eef37290c783b507db1213 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d6329e4f96e46a5e2fbe0ced4d385c42d47e2a84
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Feb 12 14:33:57 2016 +0000
Bug 15810: Make sure the CGI->param is not called in a list context when creating private shelves
This patch fixes the following bug:
If OpacAllowPublicListCreation is set to "not allow", the creation of a
private list raises an error at the OPAC.
CGI->param is called in a list context and some parameters are not
filled from the template if the pref is set to "not allow".
To make sure we don't have a "Odd number of elements in anonymous hash",
we force the context to scalar.
Test plan:
1/ Set OpacAllowPublicListCreation to "not allow"
2/ Create private and public lists at the OPAC and the intranet
=> Everything should work fine with this patch applied
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
-----------------------------------------------------------------------
Summary of changes:
opac/opac-shelves.pl | 14 +++++++-------
virtualshelves/shelves.pl | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list