From 8c178843e45e109332f04d65f64bf8f3823d4e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 8 May 2014 13:48:01 +0200 Subject: [PATCH] The integer value is not used as $recursive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/navigation/NavigationTree.class.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libraries/navigation/NavigationTree.class.php b/libraries/navigation/NavigationTree.class.php index e4fdea0abe..3cad7f034f 100644 --- a/libraries/navigation/NavigationTree.class.php +++ b/libraries/navigation/NavigationTree.class.php @@ -799,14 +799,13 @@ class PMA_NavigationTree /** * Renders a single node or a branch of the tree * - * @param Node $node The node to render - * @param int|bool $recursive Bool: Whether to render a single node or a branch - * Int: How many levels deep to render - * @param string $class An additional class for the list item + * @param Node $node The node to render + * @param bool $recursive Bool: Whether to render a single node or a branch + * @param string $class An additional class for the list item * * @return string HTML code for the tree node or branch */ - private function _renderNode($node, $recursive = -1, $class = '') + private function _renderNode($node, $recursive, $class = '') { $retval = ''; $paths = $node->getPaths();