Skip to content

Commit

Permalink
Do not build indentation, it is anyway wrong in most places
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed May 10, 2012
1 parent 2dabdb8 commit e2e3de0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libraries/common.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3704,11 +3704,10 @@ function PMA_getFunctionsForField($field, $insert_mode)
}

// Create the output
$retval = ' <option></option>' . "\n";
$retval = '<option></option>' . "\n";
// loop on the dropdown array and print all available options for that
// field.
foreach ($dropdown as $each_dropdown) {
$retval .= ' ';
$retval .= '<option';
if ($default_function === $each_dropdown) {
$retval .= ' selected="selected"';
Expand All @@ -3720,7 +3719,6 @@ function PMA_getFunctionsForField($field, $insert_mode)

// Create separator before all functions list
if ($op_spacing_needed) {
$retval .= ' ';
$retval .= '<option value="">--------</option>' . "\n";
}

Expand All @@ -3737,7 +3735,6 @@ function PMA_getFunctionsForField($field, $insert_mode)
? ' selected="selected"'
: '';

$retval .= ' ';
$retval .= '<option' . $selected . '>' . $functions[$j]
. '</option>' . "\n";
}
Expand Down

0 comments on commit e2e3de0

Please sign in to comment.