From bc9cb1e187a09bbb2cf85274f888ce086454a4cd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Apr 2015 13:47:29 +0200 Subject: [PATCH] Bug 13998: Reintroduce use of Koha::Database for C4::Ratings It has been removed by bug 13852, because before bug 13852, Koha::Database was used in C4:Members which was used by C4::VirtualShelves which was used by C4::Auth which was finally used by C4::Ratings... Test plan: At the opac, record detail page, note the record using the stars. Without this patch it does not work. Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer http://bugs.koha-community.org/show_bug.cgi?id=12998 Signed-off-by: Tomas Cohen Arazi --- C4/Ratings.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Ratings.pm b/C4/Ratings.pm index 36a48165e9..b5ab11db2b 100644 --- a/C4/Ratings.pm +++ b/C4/Ratings.pm @@ -26,6 +26,8 @@ use POSIX; use C4::Debug; use C4::Context; +use Koha::Database; + use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { -- 2.39.5