[Rt-commit] rt branch, 3.8.9-releng, updated. rt-3.8.8-242-g5d0d9ce
Kevin Falcone
falcone at bestpractical.com
Wed Dec 29 12:54:24 EST 2010
The branch, 3.8.9-releng has been updated
via 5d0d9ceababa754bd3a2278efa35b71568a41938 (commit)
from 0e9297df62ac13927ff0f6ed5f61e8c61ccadfe2 (commit)
Summary of changes:
share/html/Ticket/Graphs/dhandler | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 5d0d9ceababa754bd3a2278efa35b71568a41938
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
(cherry picked from commit eed01cfa281e4f1afc413949ec74da916cf7b7e6)
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