projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b83ee6b
)
minor fix - don't declare variables in a conditional
author
Galen Charlton
<galen.charlton@liblime.com>
Wed, 27 May 2009 11:53:17 +0000
(06:53 -0500)
committer
Galen Charlton
<galen.charlton@liblime.com>
Wed, 27 May 2009 11:53:55 +0000
(06:53 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
circ/branchtransfers.pl
patch
|
blob
|
history
diff --git
a/circ/branchtransfers.pl
b/circ/branchtransfers.pl
index
08380a1
..
da8ecc0
100755
(executable)
--- a/
circ/branchtransfers.pl
+++ b/
circ/branchtransfers.pl
@@
-41,7
+41,8
@@
my $query = new CGI;
if (!C4::Context->userenv){
my $sessionID = $query->cookie("CGISESSID");
- my $session = get_session($sessionID) if $sessionID;
+ my $session;
+ $session = get_session($sessionID) if $sessionID;
if (!$session or $session->param('branch') eq 'NO_LIBRARY_SET'){
# no branch set we can't transfer
print $query->redirect("/cgi-bin/koha/circ/selectbranchprinter.pl");