[Bps-public-commit] RT-BugTracker branch, master, updated. 6b3646f59a02882b36a53388f887ea20450b43f7

Thomas Sibley trs at bestpractical.com
Fri Jul 19 15:14:25 EDT 2013


The branch, master has been updated
       via  6b3646f59a02882b36a53388f887ea20450b43f7 (commit)
      from  0f99a7924c8b0c5a78264bbd042b7668da4c4a62 (commit)

Summary of changes:
 html/Callbacks/BugTracker/Elements/Tabs/SelfService | 2 ++
 1 file changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit 6b3646f59a02882b36a53388f887ea20450b43f7
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Jul 19 12:13:59 2013 -0700

    s/::/-/g when loading queue names from request args in menus

diff --git a/html/Callbacks/BugTracker/Elements/Tabs/SelfService b/html/Callbacks/BugTracker/Elements/Tabs/SelfService
index 81a5364..c9ec7f4 100644
--- a/html/Callbacks/BugTracker/Elements/Tabs/SelfService
+++ b/html/Callbacks/BugTracker/Elements/Tabs/SelfService
@@ -78,6 +78,8 @@ if ( $request_path =~ m{^/Dist/(?:Display|Manage)\.html} ) {
 
     my $queue_obj;
     if ($Queue) {
+        $Queue =~ s/::/-/g;
+
         my $tmp = RT::Queue->new( $session{'CurrentUser'} );
         $tmp->Load($Queue);
         unless ( $tmp->id ) {

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



More information about the Bps-public-commit mailing list