Koha/koha-tmpl/opac-tmpl/bootstrap
Fridolin Somers f1acb5615d 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: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-06-25 14:41:21 -03:00
..
css Bug 10172: Hide some uneeded stuffs on printing a record 2015-06-22 11:10:06 -03:00
en Bug 14440: get_template_and_user can not have an empty template_name (opac-ratings.pl) 2015-06-25 14:41:21 -03:00
images Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
itemtypeimg Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
js Bug 9580 Cover images from Coce, a remote image URL cache 2015-04-01 09:31:42 -03:00
less Bug 10172: Hide some uneeded stuffs on printing a record 2015-06-22 11:10:06 -03:00
lib Bug 13307: Fix jquery.deseriable.min.js 2015-04-13 13:48:55 -03:00