summaryrefslogtreecommitdiffstats
path: root/library/Pbs/Graph.php
diff options
context:
space:
mode:
authorSimon2011-04-08 15:09:04 +0200
committerSimon2011-04-08 15:09:04 +0200
commit4a8cb9a0fedbd61c087b2ffc6e480693997746f8 (patch)
tree46b1da6da950f0b065f3cbbc51aea6a44f6764be /library/Pbs/Graph.php
parentNotifier in Bootmenu richitg gesetzt (diff)
downloadpbs2-4a8cb9a0fedbd61c087b2ffc6e480693997746f8.tar.gz
pbs2-4a8cb9a0fedbd61c087b2ffc6e480693997746f8.tar.xz
pbs2-4a8cb9a0fedbd61c087b2ffc6e480693997746f8.zip
Notifies im Log verbessert
Diffstat (limited to 'library/Pbs/Graph.php')
-rw-r--r--library/Pbs/Graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/Pbs/Graph.php b/library/Pbs/Graph.php
index 521275d..c924b59 100644
--- a/library/Pbs/Graph.php
+++ b/library/Pbs/Graph.php
@@ -62,7 +62,7 @@ class Pbs_Graph{
// Gets all childs-groups from a given group
private function getChildGroups($groupID, $level=1) {
- if($this->crawledNodes['child'][$groupID] == 1)
+ if(@$this->crawledNodes['child'][$groupID] == 1)
return;
$this->crawledNodes['child'][$groupID] = 1;
$db = Zend_Db_Table::getDefaultAdapter();
@@ -72,7 +72,7 @@ class Pbs_Graph{
foreach($result as $row){
// save the current groupID in level-list
#$data[$level][] = $row['groupID'];
- if($this->edges[$groupID][$row['groupID']] != 1){
+ if(@$this->edges[$groupID][$row['groupID']] != 1){
$this->graphstring .= '"'.$this->getGroupTitle($groupID).'" -> "'.$this->getGroupTitle($row['groupID']).'";'."\n";
$this->edges[$groupID][$row['groupID']] = 1;
}