[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-149-gaca690c

Emannuel Lacour elacour at bestpractical.com
Tue Sep 7 11:09:09 EDT 2010


The branch, 3.8-trunk has been updated
       via  aca690c44b5555143d4e76926d8151299cc92f28 (commit)
      from  2220a66e642d3b1837336b0ac159c8877d4746be (commit)

Summary of changes:
 share/html/SelfService/Elements/Tabs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit aca690c44b5555143d4e76926d8151299cc92f28
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date:   Tue Sep 7 17:11:19 2010 +0200

    Revert "Reverse createticket logic in SelfService:": this is already fixed in 3.9-trunk
    
    This reverts commit a76de24d2d62e0a063ff672dc8a132e423d32797.

diff --git a/share/html/SelfService/Elements/Tabs b/share/html/SelfService/Elements/Tabs
index 3017a5d..36ac3bf 100755
--- a/share/html/SelfService/Elements/Tabs
+++ b/share/html/SelfService/Elements/Tabs
@@ -83,13 +83,13 @@ my $tabs = { A  => { title => loc('Open tickets'),
                        },
            };
 
-if ($queue_count == 1) {
+if ($queue_count > 1) {
         $tabs->{C} = { title => loc('New ticket'),
-                       path => 'SelfService/Create.html?Queue=' . $queue_id
+                       path => 'SelfService/CreateTicketInQueue.html'
                        };
 } else {
         $tabs->{C} = { title => loc('New ticket'),
-                       path => 'SelfService/CreateTicketInQueue.html'
+                       path => 'SelfService/Create.html?Queue=' . $queue_id
                        };
 }
 

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


More information about the Rt-commit mailing list