From 6fbd2a654067773df378efaa4283a4870073208b Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 31 Mar 2011 16:33:36 +0200 Subject: Graph-Anzeige gefixxt --- library/Pbs/Graph.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'library/Pbs/Graph.php') diff --git a/library/Pbs/Graph.php b/library/Pbs/Graph.php index c3f7139..1431c70 100644 --- a/library/Pbs/Graph.php +++ b/library/Pbs/Graph.php @@ -27,9 +27,9 @@ class Pbs_Graph{ $str = 'echo "'; $str .= $this->graphstring; - $str .= '" | dot -Tpng '; - passthru($str,$end); - return $end; + $str .= '" | dot -Tpng '; + passthru($str, $result); + return $result; } private function getGroupTitle($groupID){ $group = new Application_Model_Group(); -- cgit v1.2.3-55-g7522