View | Details | Raw Unified | Return to bug 23836
Collapse All | Expand All

(-)a/opac/tracklinks.pl (-3 / +3 lines)
Lines 33-41 my $uri = $cgi->param('uri') || ''; Link Here
33
my $biblionumber = $cgi->param('biblionumber') || 0;
33
my $biblionumber = $cgi->param('biblionumber') || 0;
34
my $itemnumber   = $cgi->param('itemnumber')   || 0;
34
my $itemnumber   = $cgi->param('itemnumber')   || 0;
35
35
36
my $tracking_method = C4::Context->preference('TrackClicks');
37
output_error( $cgi, '404' ) unless $tracking_method;
36
my $tracker = Koha::Linktracker->new(
38
my $tracker = Koha::Linktracker->new(
37
    { trackingmethod => C4::Context->preference('TrackClicks') } );
39
    { trackingmethod => $tracking_method } );
38
39
if ($uri && ($biblionumber || $itemnumber) ) {
40
if ($uri && ($biblionumber || $itemnumber) ) {
40
    my $borrowernumber = 0;
41
    my $borrowernumber = 0;
41
42
42
- 

Return to bug 23836