diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 9dfdd206e..d02c05d67 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1048,7 +1048,7 @@ function PMA_showMessage($message, $sql_query = null) } if (strlen($query_base) > $cfg['MaxCharactersInDisplayedSQL']) { - $query_too_big = true; + $query_too_big = true; $query_base = nl2br(htmlspecialchars($sql_query)); unset($GLOBALS['parsed_sql']); } @@ -1265,12 +1265,12 @@ function PMA_showMessage($message, $sql_query = null) /** - * Displays a form with the Profiling checkbox + * Displays a form with the Profiling checkbox * * @param string $sql_query * @access public * - * @author Marc Delisle + * @author Marc Delisle */ function PMA_profilingCheckbox($sql_query) { // 5.0.37 has profiling but for example, 5.1.20 does not @@ -1287,12 +1287,12 @@ function PMA_profilingCheckbox($sql_query) { } /** - * Displays the results of SHOW PROFILE + * Displays the results of SHOW PROFILE * - * @param array the results + * @param array the results * @access public * - * @author Marc Delisle + * @author Marc Delisle */ function PMA_profilingResults($profiling_results) { echo '
' . $GLOBALS['strProfiling'] . '' . "\n"; @@ -1565,9 +1565,9 @@ function PMA_getTab($tab) $tab['link'] = $tab['link'] . $tab['sep'] .(empty($GLOBALS['url_query']) ? PMA_generate_common_url() : $GLOBALS['url_query']); - if (!empty($tab['args'])) { + if (! empty($tab['args'])) { foreach ($tab['args'] as $param => $value) { - $tab['link'] .= '&' . urlencode($param) . '=' + $tab['link'] .= PMA_get_arg_separator('html') . urlencode($param) . '=' . urlencode($value); } } @@ -1948,7 +1948,7 @@ function PMA_getUniqueCondition($handle, $fields_cnt, $fields_meta, $row, $force // Do not use a table alias in a condition. // Test case is: // select * from galerie x WHERE - //(select count(*) from galerie y where y.datum=x.datum)>1 + //(select count(*) from galerie y where y.datum=x.datum)>1 // // But orgtable is present only with mysqli extension so the // fix is only for mysqli. @@ -2096,7 +2096,7 @@ function PMA_pageselector($url, $rows, $pageNow = 1, $nbTotalPage = 1, $showAll = 200, $sliceStart = 5, $sliceEnd = 5, $percent = 20, $range = 10, $prompt = '') { - $gotopage = $prompt + $gotopage = $prompt . '