[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-238-geed01cf

Kevin Falcone falcone at bestpractical.com
Wed Dec 29 12:54:06 EST 2010


The branch, 3.8-trunk has been updated
       via  eed01cfa281e4f1afc413949ec74da916cf7b7e6 (commit)
      from  bef216fc7dad54487d43d83954c8a30cd6fb126a (commit)

Summary of changes:
 share/html/Ticket/Graphs/dhandler |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit eed01cfa281e4f1afc413949ec74da916cf7b7e6
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Dec 29 12:33:24 2010 -0500

    Load up safe_run_child before using it
    
    See issues.bps#16192

diff --git a/share/html/Ticket/Graphs/dhandler b/share/html/Ticket/Graphs/dhandler
index 928577c..382d7d2 100644
--- a/share/html/Ticket/Graphs/dhandler
+++ b/share/html/Ticket/Graphs/dhandler
@@ -72,6 +72,7 @@ $r->content_type( 'image/png' );
 $m->clear_buffer;
 
 my $png;
+use RT::Util 'safe_run_child';
 safe_run_child { $graph->as_png(\$png) };
 $m->out( $png );
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list