summaryrefslogtreecommitdiffstats
path: root/library/Pbs/Graph.php
diff options
context:
space:
mode:
authorSimon2011-03-31 16:33:36 +0200
committerSimon2011-03-31 16:33:36 +0200
commit6fbd2a654067773df378efaa4283a4870073208b (patch)
tree9d12bccbe2b8f42e5ec00f4afe52751ce2bb7221 /library/Pbs/Graph.php
parentFilter können nurnoch auf eigene BootMenu verweisen (diff)
downloadpbs2-6fbd2a654067773df378efaa4283a4870073208b.tar.gz
pbs2-6fbd2a654067773df378efaa4283a4870073208b.tar.xz
pbs2-6fbd2a654067773df378efaa4283a4870073208b.zip
Graph-Anzeige gefixxt
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();