Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2012-08-30 21:05:56 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-08-30 21:05:56 +0400
commit35f29764f083477e9fb694a5f355c71068d596f2 (patch)
tree47f9cdfd6587fa6f459e8d30c6eb16b40ce8a10b /tbl_indexes.php
parent12fbba3724f1e329416db9ccd2150a9d51d5493d (diff)
Fix multi line conditions
Diffstat (limited to 'tbl_indexes.php')
-rw-r--r--tbl_indexes.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tbl_indexes.php b/tbl_indexes.php
index d569f7443f..32bb7a5a1d 100644
--- a/tbl_indexes.php
+++ b/tbl_indexes.php
@@ -252,10 +252,8 @@ foreach ($index->getColumns() as $column) {
<option value="">-- <?php echo __('Ignore'); ?> --</option>
<?php
foreach ($fields as $field_name => $field_type) {
- if (($index->getType() != 'FULLTEXT'
- || preg_match('/(char|text)/i', $field_type))
- && ($index->getType() != 'SPATIAL'
- || in_array($field_type, $spatial_types))
+ if (($index->getType() != 'FULLTEXT' || preg_match('/(char|text)/i', $field_type))
+ && ($index->getType() != 'SPATIAL' || in_array($field_type, $spatial_types))
) {
echo '<option value="' . htmlspecialchars($field_name) . '"'
. (($field_name == $column->getName())