[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-183-g2071d5bc79
? sunnavy
sunnavy at bestpractical.com
Tue Nov 24 14:44:27 EST 2020
The branch, 4.4-trunk has been updated
via 2071d5bc79c09dae1200294d89a74abcc3fd42a9 (commit)
from 2e3c228f330ae0048a6674bdb7302d8afa87d3c9 (commit)
Summary of changes:
lib/RT/Crypt.pm | 3 +++
1 file changed, 3 insertions(+)
- Log -----------------------------------------------------------------
commit 2071d5bc79c09dae1200294d89a74abcc3fd42a9
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Nov 25 03:32:39 2020 +0800
Explain conversion of legacy list args to a hash
diff --git a/lib/RT/Crypt.pm b/lib/RT/Crypt.pm
index 6b8ce22163..b074a81ae0 100644
--- a/lib/RT/Crypt.pm
+++ b/lib/RT/Crypt.pm
@@ -694,6 +694,9 @@ sub CheckRecipients {
Recipients => undef,
);
+ # CheckRecipients used to be called with just a list of recipients
+ # rather than a hash of arguments; if we are given the old-style
+ # list of recipients, adjust %args for backward-compatibility.
if ( grep { $_ && $_ =~ /^(Queue|Recipients)$/ } @_ ) {
%args = ( %args, @_ );
}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list