From ffcbfee85c6f220502bef19dc65ea8e3f2641ef1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Apr 2015 13:47:29 +0200 Subject: [PATCH] [SIGNED OFF] 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 --- C4/Ratings.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Ratings.pm b/C4/Ratings.pm index 3a618ac..c2bbbc6 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 { -- 1.9.1