coding standard: no spaces inside braces
This commit is contained in:
@@ -242,7 +242,8 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
|
||||
$buffer = '';
|
||||
// print each row
|
||||
for ($i = 0; $i < $columns_cnt; $i++) {
|
||||
if ( isset($record[$columns[$i]]) && (!function_exists('is_null') || !is_null($record[$columns[$i]]))) {
|
||||
if (isset($record[$columns[$i]])
|
||||
&& (! function_exists('is_null') || !is_null($record[$columns[$i]]))) {
|
||||
$column_value = PMA_texEscape(stripslashes($record[$columns[$i]]));
|
||||
} else {
|
||||
$column_value = $GLOBALS['latex_null'];
|
||||
|
@@ -9,12 +9,11 @@
|
||||
* Prepares the work and runs some other scripts if required
|
||||
*/
|
||||
if (! empty($submit_mult)
|
||||
&& ($submit_mult != $strWithChecked)
|
||||
&& ( ( isset($selected_db) && !empty($selected_db) )
|
||||
|| ( isset($selected_tbl) && !empty($selected_tbl) )
|
||||
|| ( isset($selected_fld) && !empty($selected_fld) )
|
||||
|| !empty($rows_to_delete)
|
||||
)) {
|
||||
&& $submit_mult != $strWithChecked
|
||||
&& (! empty($selected_db)
|
||||
|| ! empty($selected_tbl)
|
||||
|| ! empty($selected_fld)
|
||||
|| ! empty($rows_to_delete))) {
|
||||
define('PMA_SUBMIT_MULT', 1);
|
||||
if (isset($selected_db) && !empty($selected_db)) {
|
||||
$selected = $selected_db;
|
||||
|
@@ -1172,8 +1172,7 @@ if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
||||
// the "*" is not saved
|
||||
|
||||
if (isset($chain) && !$seen_end_of_table_ref
|
||||
&& ( (!$seen_from
|
||||
&& $arr[$i]['type'] == 'punct_listsep')
|
||||
&& ((!$seen_from && $arr[$i]['type'] == 'punct_listsep')
|
||||
|| ($arr[$i]['type'] == 'alpha_reservedWord' && $upper_data == 'FROM'))) {
|
||||
$size_chain = count($chain);
|
||||
$current_select_expr++;
|
||||
|
@@ -289,8 +289,7 @@ foreach ($the_tables as $key => $table) {
|
||||
<?php
|
||||
|
||||
if (! $tbl_is_view
|
||||
&& ( $db != 'information_schema'
|
||||
|| PMA_MYSQL_INT_VERSION < 50002 ) ) {
|
||||
&& ($db != 'information_schema' || PMA_MYSQL_INT_VERSION < 50002)) {
|
||||
|
||||
/**
|
||||
* Displays indexes
|
||||
|
Reference in New Issue
Block a user