projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d407c9c
)
quell 'non-initialized variable defaulttab' warning
author
Galen Charlton
<gmcharlt@gmail.com>
Sat, 8 May 2010 22:57:41 +0000
(18:57 -0400)
committer
Galen Charlton
<gmcharlt@gmail.com>
Sat, 8 May 2010 22:57:41 +0000
(18:57 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
opac/opac-detail.pl
patch
|
blob
|
history
diff --git
a/opac/opac-detail.pl
b/opac/opac-detail.pl
index
2cb5304
..
629ebd2
100755
(executable)
--- a/
opac/opac-detail.pl
+++ b/
opac/opac-detail.pl
@@
-596,7
+596,7
@@
if (my $search_for_title = C4::Context->preference('OPACSearchForTitleIn')){
# We try to select the best default tab to show, according to what
# the user wants, and what's available for display
-my $defaulttab;
+my $defaulttab
= ''
;
switch (C4::Context->preference('opacSerialDefaultTab')) {
# If the user wants subscriptions by default
@@
-636,5
+636,4
@@
switch (C4::Context->preference('opacSerialDefaultTab')) {
$template->param('defaulttab' => $defaulttab);
-
output_html_with_http_headers $query, $cookie, $template->output;