[Rt-commit] rt branch, 4.4/update-core-to-fix-squelch-bug-in-rtir, created. rt-4.4.4-189-gcfbbbaae1e

Dianne Skoll dianne at bestpractical.com
Wed Dec 9 13:53:11 EST 2020


The branch, 4.4/update-core-to-fix-squelch-bug-in-rtir has been created
        at  cfbbbaae1e51677cad5b7a8d0ca8c6356bdf22d4 (commit)

- Log -----------------------------------------------------------------
commit cfbbbaae1e51677cad5b7a8d0ca8c6356bdf22d4
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Wed Dec 9 13:51:41 2020 -0500

    The RT::IR Update.html page needs Helpers/ShowSimplifiedRecipients to include the TxnRecipients hidden input.
    
    This patch adds a parameter that allows the caller to force this input to
    be displayed.

diff --git a/share/html/Helpers/ShowSimplifiedRecipients b/share/html/Helpers/ShowSimplifiedRecipients
index 30512532fb..aad3c6ef9a 100644
--- a/share/html/Helpers/ShowSimplifiedRecipients
+++ b/share/html/Helpers/ShowSimplifiedRecipients
@@ -140,7 +140,7 @@ $submitted{$_} = 1 for split /,/, $ARGS{TxnRecipients};
 &>Uncheck boxes to disable notifications to the listed recipients <b>for this transaction only</b>; persistent squelching is managed on the <a href="[_1]">People page</a>.</&>
 </p>
 
-% unless ($TicketObj->CurrentUserHasRight('ShowOutgoingEmail')) {
+% if (!$TicketObj->CurrentUserHasRight('ShowOutgoingEmail') || $ARGS{'NeedTxnRecipientsHiddenInput'}) {
     <input type="hidden" name="TxnRecipients" value="<% join ",",sort keys %recips %>" />
 % }
 % $m->abort();

-----------------------------------------------------------------------


More information about the rt-commit mailing list