[Rt-commit] [rtir] 08/14: Add a comment
Jesse Vincent
jesse at bestpractical.com
Wed Feb 18 20:55:06 EST 2015
This is an automated email from the git hooks/post-receive script.
jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.
commit 37bc5b98374b3d0d75d103dc472617008f3b407c
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Wed Feb 18 15:56:59 2015 -0800
Add a comment
---
html/RTIR/Create.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index b6c4a5e..feb6f03 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -339,7 +339,11 @@ my $ticket = RT::Ticket->new($session{'CurrentUser'}); # empty ticket object
my $Type = RT::IR::TicketType( Lifecycle => $QueueObj->Lifecycle);
if ($QueueObj->Lifecycle eq RT::IR->lifecycle_countermeasure && RT->Config->Get('RTIR_DisableBlocksQueue') ) {
Abort(loc("Blocks queue is disabled via config file"));
-}
+ }
+
+# If we have a custom create page for this kind of item, serve
+# that instead.
+# As of RTIR 3.8, that's only true for Incidents
if ( $m->comp_exists("/RTIR/$Type/Create.html") ) {
return $m->comp( "/RTIR/$Type/Create.html", %ARGS );
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list