[Rt-commit] r16255 - in rt/branches/3.999-DANGEROUS: lib/RT/Interface

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Oct 9 03:54:53 EDT 2008


Author: sunnavy
Date: Thu Oct  9 03:54:53 2008
New Revision: 16255

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm

Log:
 r17083 at sunnavys-mb:  sunnavy | 2008-10-09 15:52:23 +0800
 extend detailed_messages to keep multiple messages for one field


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm	Thu Oct  9 03:54:53 2008
@@ -1473,7 +1473,7 @@
     my $msg = $result->content('detailed_messages')
         or return $result->message;
 
-    return map { $msg->{$_} } sort keys %$msg;
+    return map { ref $msg->{$_} eq 'ARRAY' ? (@{$msg->{$_}}) : $msg->{$_} } sort keys %$msg;
 }
 
 


More information about the Rt-commit mailing list