diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-22 19:58:41 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-22 19:58:41 +0400 |
commit | 4b8d52d937d396301c17472874cb645e92258df3 (patch) | |
tree | fcde2fe963c87d5e8059029212583cac220f41d1 /navigation.php | |
parent | 67134da3d01ff2f2469d79223d0d22a4515d3227 (diff) |
Fix CheckStyle warnings, Type:CloseBracketNewLine (Closing parenthesis of a multi-line IF statement must be on a new line)
Diffstat (limited to 'navigation.php')
-rw-r--r-- | navigation.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/navigation.php b/navigation.php index 91442afd5a..e8c7a61404 100644 --- a/navigation.php +++ b/navigation.php @@ -239,7 +239,8 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) { $db_tooltip = ''; if ($GLOBALS['cfg']['ShowTooltip'] - && $GLOBALS['cfgRelation']['commwork']) { + && $GLOBALS['cfgRelation']['commwork'] + ) { $_db_tooltip = PMA_getDbComment($GLOBALS['db']); if ($_db_tooltip) { $db_tooltip = $_db_tooltip; @@ -348,7 +349,9 @@ function PMA_displayDbList($ext_dblist, $offset, $count) $element_counter++; echo '<li class="dbgroup">'; if ((! empty($_REQUEST['dbgroup']) && $_REQUEST['dbgroup'] == $group) - || $db_start == $group || strpos($db_start, $group) === 0) { + || $db_start == $group + || strpos($db_start, $group) === 0 + ) { // display + only if this db(group) is not preselected printf($href_left, $element_counter, PMA_generate_common_url()); printf($img_minus, $element_counter); @@ -358,7 +361,9 @@ function PMA_displayDbList($ext_dblist, $offset, $count) } echo '</a> ' . $group . "\n"; if ((! empty($_REQUEST['dbgroup']) && $_REQUEST['dbgroup'] == $group) - || $db_start == $group || strpos($db_start, $group) === 0) { + || $db_start == $group + || strpos($db_start, $group) === 0 + ) { echo '<ul id="subel' . $element_counter . '">' . "\n"; } else { echo '<ul id="subel' . $element_counter . '"' |