projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 4072 Lost items aren't hidden on OPAC result page
[koha.git]
/
mainpage.pl
diff --git
a/mainpage.pl
b/mainpage.pl
index
cdd6a9a
..
6a0c1af
100755
(executable)
--- a/
mainpage.pl
+++ b/
mainpage.pl
@@
-17,8
+17,7
@@
#
use strict;
#
use strict;
-require Exporter;
-
+use warnings;
use CGI;
use C4::Output;
use C4::Auth;
use CGI;
use C4::Output;
use C4::Auth;
@@
-49,16
+48,11
@@
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
authnotrequired => 0,
flagsrequired => {
catalogue => 1,
authnotrequired => 0,
flagsrequired => {
catalogue => 1,
- circulate => 1,
- borrowers => 1,
},
}
);
},
}
);
-my $marc_p = C4::Context->boolean_preference("marc");
-
$template->param(
$template->param(
- NOTMARC => !$marc_p,
authtypesloop => \@authtypesloop
);
authtypesloop => \@authtypesloop
);