[Rt-commit] rt branch, 4.4/queue-default-article, repushed
Craig Kaiser
craig at bestpractical.com
Thu Feb 22 13:47:29 EST 2018
The branch 4.4/queue-default-article was deleted and repushed:
was b8aa5cfd36bd336e9bc3e7fa55504ef4220a80e9
now 0ee5757311abaf56d1f626fe46aacbb145b0b758
1: a8f9b9df8 ! 1: 30ac41703 Add default value for Articles in Queues
@@ -116,13 +116,13 @@
+ $RT::Logger->error($msg) unless ($ret);
+
+ if ( $QueueObj->id && $QueueObj->DefaultValue('Article') ) {
-+ my $article = RT::Article->new($session{'CurrentUser'});
-+ my ($ret, $msg) = $article->Load( $QueueObj->DefaultValue('Article') );
-+ $RT::Logger->error($msg) unless ($ret);
-+ if ($ret) {
-+ push (@articles, $article);
-+ }
-+ }
++ my $article = RT::Article->new($session{'CurrentUser'});
++ my ($ret, $msg) = $article->Load( $QueueObj->DefaultValue('Article') );
++ $RT::Logger->error($msg) unless ($ret);
++ if ($ret) {
++ push (@articles, $article);
++ }
++ }
+}
+foreach my $article (@articles) {
2: 3e945b0c4 = 2: d1d86770f Add autocomplete for articles
3: b8aa5cfd3 = 3: 0ee575731 Test default article content on ticket create
More information about the rt-commit
mailing list