Skip to content

Commit

Permalink
Mark real types
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <[email protected]>
  • Loading branch information
madhuracj committed Jun 23, 2015
1 parent b0e08a7 commit a9f1f08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/navigation/NavigationTree.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ private function _buildPathPart($path, $type2, $pos2, $type3, $pos3)
}

array_shift($path); // remove 'root'
/* @var $db Node_Database */
$db = $this->_tree->getChild($path[0]);
$retval = $db;

Expand Down Expand Up @@ -418,6 +419,7 @@ private function _buildPathPart($path, $type2, $pos2, $type3, $pos3)
return $retval;
}

/* @var $table Node_Table */
$table = $container->getChild($path[0], true);
if ($table === false) {
if (!$db->getPresence('tables', $path[0])) {
Expand Down

0 comments on commit a9f1f08

Please sign in to comment.