summaryrefslogtreecommitdiffstats
path: root/library/Pbs/Graph.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Pbs/Graph.php')
-rw-r--r--library/Pbs/Graph.php6
1 files changed, 3 insertions, 3 deletions
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();