Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt
Commits
6c81bce8
Commit
6c81bce8
authored
Jun 13, 2014
by
Alex Vandiver
Browse files
Merge branch '4.2/crontool-template-obj' into 4.2-trunk
parents
55c6d2a2
eb37bdfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/rt-crontool.in
View file @
6c81bce8
...
...
@@ -259,11 +259,11 @@ sub get_template {
unless ( $template =~ /\D/ ) {
# by id
my $template = RT::Template->new( RT->SystemUser );
$template->Load( $template );
my $template
_obj
= RT::Template->new( RT->SystemUser );
$template
_obj
->Load( $template );
die "Failed to load template '$template'"
unless $template->id;
return $template;
unless $template
_obj
->id;
return $template
_obj
;
}
my $queue = $ticket->Queue;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment