Hello,
attached you find a patch for Kernel/System/CustomerUser.pm 1.2.3. It is a minor bug fix.
Problem: The customer username is not visible, because it is overwritten if you have mutiple customer data sources.
Bye,
Robert Heinzmann
--- otrs.orig/Kernel/System/CustomerUser.pm 2004-04-02 15:41:46.000000000 +0200
+++ otrs/Kernel/System/CustomerUser.pm 2004-08-03 19:13:00.000000000 +0200
@@ -106,7 +106,9 @@
my $Name = $Self->{CustomerUser}->CustomerName(%Param) || '';
foreach (1..10) {
if ($Self->{"CustomerUser$_"}) {
- $Name = $Self->{"CustomerUser$_"}->CustomerName(%Param);
+ if (my $tempName=$Self->{"CustomerUser$_"}->CustomerName(%Param)) {
+ $Name = $tempName;
+ }
}
}
return $Name;
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
