From 407f75f3c92253a59a676d9913cead94eb1b0f22 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Mon, 11 Jan 2016 21:15:46 +0000 Subject: [PATCH] Bug 14641: Warns in subscription-add.pl Removes warn using Jonathan's suggestion! To test: 1) Reproduce warns by clicking New Subscription 2) Apply patch 3) Click New Subscription again 4) Confirm warns are gone --- serials/subscription-add.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index 7525b59..31a1e35 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -236,6 +236,7 @@ if ($op eq 'addsubscription') { sub get_letter_loop { my ($selected_lettercode) = @_; + $selected_lettercode //= ''; my $letters = GetLetters({ module => 'serial' }); return [ map { -- 1.7.10.4