Bug 10632 - Enable datatables for courses and course details in the OPAC
[srvgit] / opac / opac-alert-subscribe.pl
index 7a95750..f177878 100755 (executable)
@@ -43,10 +43,11 @@ my $biblionumber = $query->param('biblionumber');
 
 ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     {
-        template_name   => "opac-alert-subscribe.tmpl",
+        template_name   => "opac-alert-subscribe.tt",
         query           => $query,
         type            => "opac",
-        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
+        authnotrequired => 0, # user must logged in to request
+                              # subscription notifications
         debug           => 1,
     }
 );