Skip to content

Commit

Permalink
fix reporting of dates changes
Browse files Browse the repository at this point in the history
intention of the code is to store original value
in the results, but it was stored incorrectly, so we
end up with two records in results: first with success
and ISO date, second with value only that is treated
as failure.
  • Loading branch information
ruz committed Feb 7, 2013
1 parent 337a8c8 commit 06bee1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RT/Interface/Email/Filter/TakeAction.pm
Expand Up @@ -284,7 +284,7 @@ sub GetCurrentUser {
);
_SetAttribute( $ticket_as_user, $attribute, $date->ISO,
\%results );
$results{ lc $attribute }->{value} = $cmds{ lc $attribute };
$results{ $attribute }->{value} = $cmds{ lc $attribute };
}

foreach my $type ( @WATCHER_ATTRIBUTES ) {
Expand Down

0 comments on commit 06bee1c

Please sign in to comment.