[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0-187-g993d034c86

? sunnavy sunnavy at bestpractical.com
Mon Jan 4 16:41:46 EST 2021


The branch, 5.0-trunk has been updated
       via  993d034c86cb8f2f8975339c178374c4632c291d (commit)
      from  b0e59a2e489975b8d1dca5d6236b26d05b791d20 (commit)

Summary of changes:
 share/html/Ticket/Elements/ShowLinkedQueues | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 993d034c86cb8f2f8975339c178374c4632c291d
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Jan 5 05:21:22 2021 +0800

    Drop useless queue parameter in loc call that doesn't have placeholders

diff --git a/share/html/Ticket/Elements/ShowLinkedQueues b/share/html/Ticket/Elements/ShowLinkedQueues
index 72c32c42fb..73cc7e7a79 100644
--- a/share/html/Ticket/Elements/ShowLinkedQueues
+++ b/share/html/Ticket/Elements/ShowLinkedQueues
@@ -105,8 +105,7 @@ $m->callback( CallbackName => 'MassageTitleBox',
 
 <%PERL>
 my @queries = map { "$query AND $_" } q{Status = '__Active__'}, q{Status = '__Inactive__'};
-my @empty_messages
-    = ( loc( '(No active tickets)', $queue_name ), loc( '(No inactive tickets)', $queue_name ) );
+my @empty_messages = ( loc( '(No active tickets)' ), loc( '(No inactive tickets)' ) );
 
 $m->callback( CallbackName => 'MassageQueries',
     ARGSRef         => \%ARGS,

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


More information about the rt-commit mailing list