[Rt-commit] r16933 - rt/3.8/trunk/sbin

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Nov 19 13:52:33 EST 2008


Author: sunnavy
Date: Wed Nov 19 13:52:32 2008
New Revision: 16933

Modified:
   rt/3.8/trunk/sbin/rt-email-dashboards.in

Log:
typo fix

Modified: rt/3.8/trunk/sbin/rt-email-dashboards.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-email-dashboards.in	(original)
+++ rt/3.8/trunk/sbin/rt-email-dashboards.in	Wed Nov 19 13:52:32 2008
@@ -434,7 +434,7 @@
     $content = run_component($path, %args);
 
     # guess at the filename from the component name
-    $filename = $2 if $path =~ m{^.*/(.*?)$};
+    $filename = $1 if $path =~ m{^.*/(.*?)$};
 
     # the rest of this was taken from Email::MIME::CreateHTML::Resolver::LWP
     ($mimetype, $encoding) = MIME::Types::by_suffix($filename);


More information about the Rt-commit mailing list