[Rt-commit] rtir branch 5.0-trunk updated. 5.0.1-48-g35b2031c

BPS Git Server git at git.bestpractical.com
Wed Dec 22 19:21:50 UTC 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rtir".

The branch, 5.0-trunk has been updated
       via  35b2031c6473dfaca3b36a1d470b8b94c2aca8dc (commit)
      from  ae63945c44ef0687c716d98951c8b7b5125219b9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 35b2031c6473dfaca3b36a1d470b8b94c2aca8dc
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Dec 23 03:08:16 2021 +0800

    Add the missing "?" delimiter for "New ..." menu links on FromIncident page

diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index 2c163dfe..c3c8a8cc 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -418,7 +418,7 @@ if ( $request_path =~ m{(?:$re_rtir_path)(?:$re_rtir_types/)?(Display|Edit|Updat
         new => title => loc("New [_1]", RT::IR::TicketType( Lifecycle => $lifecycle || RT::IR->lifecycle_incident ) ),
         path => !$lifecycle
             ? RT::IR->HREFTo("Incident/Create.html?Child=$id&Lifecycle=".RT::IR->lifecycle_incident, IncludeWebPath => 0)
-            : RT::IR->HREFTo('Create.html' . $query_string->( Incident => $id, Lifecycle => $lifecycle ), IncludeWebPath => 0)
+            : RT::IR->HREFTo('Create.html?' . $query_string->( Incident => $id, Lifecycle => $lifecycle ), IncludeWebPath => 0)
         ,
     );
     PageMenu()->child(

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

Summary of changes:
 html/Callbacks/RTIR/Elements/Tabs/Privileged | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
rtir


More information about the rt-commit mailing list