projects
/
srvgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 8268: improve error checking
[srvgit]
/
circ
/
circulation-home.pl
diff --git
a/circ/circulation-home.pl
b/circ/circulation-home.pl
index
4ccb780
..
842f8d9
100755
(executable)
--- a/
circ/circulation-home.pl
+++ b/
circ/circulation-home.pl
@@
-17,11
+17,12
@@
#
use strict;
#
use strict;
+#use warnings; FIXME - Bug 2505
use CGI;
use C4::Auth;
use C4::Output;
use C4::Context;
use CGI;
use C4::Auth;
use C4::Output;
use C4::Context;
-
+use C4::Koha;
my $query = new CGI;
my ($template, $loggedinuser, $cookie)
my $query = new CGI;
my ($template, $loggedinuser, $cookie)
@@
-29,7
+30,12
@@
my ($template, $loggedinuser, $cookie)
query => $query,
type => "intranet",
authnotrequired => 0,
query => $query,
type => "intranet",
authnotrequired => 0,
- flagsrequired => {circulate =>
1
},
+ flagsrequired => {circulate =>
"circulate_remaining_permissions"
},
});
});
+# Checking if there is a Fast Cataloging Framework
+my $fa = getframeworkinfo('FA');
+$template->param( fast_cataloging => 1 ) if (defined $fa);
+
+
output_html_with_http_headers $query, $cookie, $template->output;
output_html_with_http_headers $query, $cookie, $template->output;