Fixed refreshing of databases that contain only one type of items

This commit is contained in:
Rouslan Placella 2012-07-04 16:45:04 +01:00
parent aba183c386
commit 228ca64fac

View File

@ -474,7 +474,7 @@ class PMA_NavigationTree {
public function renderNode($node, $recursive = -1, $indent = ' ', $class = '')
{
$retval = '';
if (!($node->real_name == 'tables' && ! $node->hasSiblings())) {
if ($node->hasSiblings()) {
if ( $node->type == Node::CONTAINER
&& count($node->children) == 0
&& $GLOBALS['is_ajax_request'] != true