Go to file
Fridolin Somers bad18ee246 Bug 14440: get_template_and_user can not have an empty template_name (opac-ratings.pl)
Since Bug 14408, the method get_template_and_user can not have an empty template_name.
Pages calling with an empty value should use C4::Auth::checkauth()

This patch corrects opac/opac-ratings.pl

Test plan :
- Apply patch
- Set sysopref OpacStarRatings to 'results and details'
- Disable Javascipt on your browser (otherwise it will use ajax)
- Login at OPAC
- Go to a record
- Click on a button left of 'Rate me' to choose a rating, ie 4
- Click on 'Rate me'
=> The page is reloaded and you see 'your rating: 4'
- Loggout from OPAC
- Try to access URL : http://<serveur>/cgi-bin/koha/opac-ratings.pl
=> You see the loggin page

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Mason James <mtj@kohaaloha.com>
2015-07-26 01:20:06 +12:00
C4 Bug 8686: Raise required version of URI::Escape to 3.31 2015-07-26 01:20:05 +12:00
Koha Bug 13645: Cache the DBIx connection 2015-05-29 17:53:40 +12:00
OpenILS Bug 9239 QA follow-up: remove stray debug code 2013-03-16 21:32:34 -04:00
acqui Bug 14440: get_template_and_user can not have an empty template_name (updatesupplier.pl) 2015-07-26 01:20:06 +12:00
admin Bug 13401 - sort branches alphabetically in admin/authorised_values.pl 2015-02-26 17:28:14 +13:00
authorities Bug 10862: Add search history to the intranet interface 2014-05-05 03:06:33 +00:00
basket Bug 13343: Embed items when send a basket/shelf 2015-02-26 18:05:16 +13:00
catalogue Bug 10857: (follow-up) make it possible to remove facets that contain diacritics 2014-05-05 21:44:03 +00:00
cataloguing Bug 13268: the size should not be emptied in pl script 2015-04-22 22:25:30 +12:00
circ Bug 12066: New renew page in staff client doesn't record branch in statistics 2015-07-25 16:43:28 +12:00
course_reserves Bug 11866: (follow-up) repair security issue introduced by main patch 2014-03-10 14:57:17 +00:00
debian Bug 14203 - Message for non-existent lang removal 2015-07-25 16:22:09 +12:00
docs Bug 7143: Updating new developers 2014-07-23 20:43:21 +00:00
errors
…
etc Bug 9612: (follow-up) restore elementSetName in Context.pm 2014-05-19 16:46:57 +00:00
install_misc Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
installer Bumping DB version for 3.16.12 2015-06-24 01:20:11 +12:00
koha-tmpl Bug 14440: get_template_and_user can not have an empty template_name (opac-ratings.pl) 2015-07-26 01:20:06 +12:00
labels Bug 8375: Use TrueType fonts in PDF::Reuse 2014-05-05 21:53:18 +00:00
members Bug 13602 - Username/password already exists when editing borrower attributes and messaging preferences 2015-02-26 16:41:54 +13:00
misc update notes 2015-06-24 01:39:18 +12:00
offline_circ Bug 10240: (follow-up) don't display patrons as lost or gone-no-address incorrectly 2013-10-11 01:57:05 +00:00
opac Bug 14440: get_template_and_user can not have an empty template_name (opac-ratings.pl) 2015-07-26 01:20:06 +12:00
patron_lists Bug 10565: (follow-up) add new user permission for patron list management 2013-10-14 22:43:03 +00:00
patroncards Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 14426: Escape or use placeholders for sql parameters 2015-07-26 01:20:04 +12:00
reserve Bug 11801: In transit hold items incorrectly labels as "Waiting to be pulled" on request.pl 2014-06-18 21:11:53 +00:00
reviews
…
rotating_collections Bug 9605: rotating collections permissions are wrong 2013-03-30 22:11:05 -04:00
selenium
…
serials Bug 11226: subscription frequencies and numbering patterns should be editable with serials permissions 2014-07-23 21:26:10 +00:00
services Bug 11715: require authentication for various staff scripts 2014-06-25 22:43:20 +00:00
skel Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
sms Bug 10611: Use mysql_auto_reconnect instead of ping 2014-03-10 23:15:35 +00:00
suggestion Bug 10519: (followup) Fix context for evalyating $borrowernumber 2014-09-23 20:27:26 +00:00
svc Bug 13801: svc/bib - Set charset to utf-8 on printing header 2015-03-26 13:15:30 +13:00
t Bug 14112 - Silence warnings in t/Charset.t 2015-07-25 16:29:36 +12:00
tags Bug 10730: Use DataTables on the tag review page 2013-09-25 16:47:59 +00:00
test 3.16.x test push 2014-12-22 16:21:38 +13:00
tmp/modified_authorities
…
tools Bug 10355: paramater 'object' lost on the road 2015-07-26 01:20:04 +12:00
virtualshelves Bug 13343: Embed items when send a basket/shelf 2015-02-26 18:05:16 +13:00
xt Bug 12271: (follow-up) teach valid-templates.t how to include specified templates 2014-05-19 16:14:28 +00:00
.htaccess
…
.mailmap
…
INSTALL
…
INSTALL.debian
…
INSTALL.fedora7 Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.opensuse Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.ubuntu Bug 7764: (follow-up) editorial tweaks 2013-10-04 16:27:55 +00:00
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
MANIFEST.SKIP
…
Makefile.PL Bug 13586: Remove some other occurrences 2015-03-27 16:49:14 +13:00
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.robots
…
about.pl Bug 14006: about.pl checks the wrong zebra index mode 2015-05-29 20:21:23 +12:00
changelanguage.pl
…
edithelp.pl Bug 11661: sanitize file names supplied to edithelp.pl 2014-02-05 01:36:10 +00:00
fix-perl-path.PL
…
help.pl Bug 11238: contruct links to the appropriate manual version dynamically 2013-11-23 19:30:16 +00:00
install-CPAN.pl
…
koha_perl_deps.pl bug 10548: fix count of missing required dependencies by koha_perl_deps.pl 2013-07-11 14:03:32 +00:00
kohaversion.pl Bumping DB version for 3.16.12 2015-06-24 01:20:11 +12:00
mainpage.pl Bug 7567 - Use, display, filter News by library 2014-04-07 18:14:19 +00:00
rewrite-config.PL Bug 10729: Add phrases configuration for ICU 2014-05-05 04:10:57 +00:00

README

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/