[rt-devel] Bad image for "Time to Resolve" in Statistics

Graeme Pyle graeme at raspberry.co.za
Thu Sep 4 06:43:35 EDT 2003


Hello,

I noticed that the graph for "Time to Resolve" in the Statistics package 
wasn't working.

On closer inspection, the actual PNG file started with "image/png" which 
seemed to be a duplicate of the content-type header.

I removed the print command from Statistics/TimeToResolve/Elements/Chart 
as below, and it all works now.

Cheers,

Graeme

--snip-snip--

33c33,34
< print $r->content_type("image/$format");
---
 > #print $r->content_type("image/$format");
 > $r->content_type("image/$format");

--snip-snip--




More information about the Rt-devel mailing list