From 9ae8fadaff2ec9f34ed949b7d395e4aed84157d8 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 19 Sep 2012 11:53:40 -0400 Subject: [PATCH] Bug 8606 - Talking Tech broken by user-configurable slips feature - QA Followup Content-Type: text/plain; charset="utf-8" --- C4/Letters.pm | 2 +- .../prog/en/modules/circ/printslip.tt | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 3eb8ace..f646241 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -148,7 +148,7 @@ my %letter; sub getletter { my ( $module, $code, $branchcode ) = @_; - $branchcode |= ''; + $branchcode ||= ''; if ( C4::Context->preference('IndependantBranches') and $branchcode diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt index 7b29d4e..6dfbac8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt @@ -12,8 +12,6 @@ [% IntranetSlipPrinterJS %] [% ELSE %] function printThenClose() { - window.print(); - window.close(); } [% END %] -- 1.7.2.5