[Rt-commit] rt branch, 4.4/queue-include-article, repushed
Craig Kaiser
craig at bestpractical.com
Thu Dec 28 11:57:15 EST 2017
The branch 4.4/queue-include-article was deleted and repushed:
was 3c24b415be32a4f4b7f9518182130fc5009127f2
now 56482566a6e58f08111cdf1ae736f4a4fc90e3ec
1: 3c24b41 ! 1: 5648256 Include Article on ticket create, based on queue
@@ -118,14 +118,22 @@
<td colspan="3"><input name="SubjectTag" value="<% $ARGS{'SubjectTag'} || ($Create ? "" : $QueueObj->SubjectTag || '' ) %>" size="60" /></td>
</tr>
@@
+ }
+ }
+
++my $MyArticle = RT::Article->new( $session{'CurrentUser'});
if ( $QueueObj->Id ) {
$title = loc('Configuration for queue [_1]', $QueueObj->Name );
my @attribs= qw(Description CorrespondAddress CommentAddress Name SortOrder
- Sign SignAuto Encrypt Lifecycle SubjectTag SLADisabled Disabled);
+ Sign SignAuto Encrypt Lifecycle ArticleIncluded SubjectTag SLADisabled Disabled);
++ unless ( !$MyArticle->ValidateName($ARGS{'ArticleIncluded'}) ){
++ $ARGS{'ArticleIncluded'} = '';
++ }
# we're asking about enabled on the web page but really care about disabled
if ( $SetEnabled ) {
+ $Disabled = $ARGS{'Disabled'} = $Enabled? 0: 1;
@@
$CorrespondAddress => undef
$CommentAddress => undef
More information about the rt-commit
mailing list