Bug 8606 - Talking Tech broken by user-configurable slips feature - QA Followup
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 19 Sep 2012 15:54:52 +0000 (11:54 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 20 Sep 2012 12:12:45 +0000 (14:12 +0200)
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(not tested it actually fixes talking tech, trusting signoff & sounds
logical)

C4/Letters.pm

index 3eb8ace..f646241 100644 (file)
@@ -148,7 +148,7 @@ my %letter;
 sub getletter {
     my ( $module, $code, $branchcode ) = @_;
 
-    $branchcode |= '';
+    $branchcode ||= '';
 
     if ( C4::Context->preference('IndependantBranches')
             and $branchcode