[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.1-203-gd990b5d
Shawn Moore
shawn at bestpractical.com
Wed Dec 28 12:19:35 EST 2016
The branch, 4.4-trunk has been updated
via d990b5de87e3db9c7fdb31794460b0b63dea3f5a (commit)
via 575212e054a40df1a71b6e796a35bf2dbaa326d8 (commit)
from cb9c3d6210d338353d6ae30a541564b739c727ec (commit)
Summary of changes:
lib/RT/Tickets.pm | 3 +++
1 file changed, 3 insertions(+)
- Log -----------------------------------------------------------------
commit 575212e054a40df1a71b6e796a35bf2dbaa326d8
Author: Michael McAtee <jmmcatee at gmail.com>
Date: Mon Nov 14 15:54:52 2016 -0600
Add TicketSQL placeholder for username
diff --git a/lib/RT/Tickets.pm b/lib/RT/Tickets.pm
index 64b0646..0207329 100644
--- a/lib/RT/Tickets.pm
+++ b/lib/RT/Tickets.pm
@@ -3117,6 +3117,9 @@ sub _parser {
# replace __CurrentUser__ with id
$value = $self->CurrentUser->id if $value eq '__CurrentUser__';
+ # replace __CurrentUserName__ with the username
+ $value = $self->CurrentUser->Name if $value eq '__CurrentUserName__';
+
my $sub = $dispatch{ $class }
or die "No dispatch method for class '$class'";
commit d990b5de87e3db9c7fdb31794460b0b63dea3f5a
Merge: cb9c3d6 575212e
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Wed Dec 28 12:18:34 2016 -0500
Merge branch 'jmmcatee-currentusername' into 4.4-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list