diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-25 22:09:04 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-25 22:09:04 +0400 |
commit | 4ff76ff31c08d3a92cc6e08f84794fe9603141f4 (patch) | |
tree | 78c324d497d5224f35e5f44c74d78af365082cf4 /tbl_select.php | |
parent | d6e05d74b5c312c65e20f1a1ac3e5cc9320fd630 (diff) |
Coding style improvements (Inline control structures are discouraged)
Diffstat (limited to 'tbl_select.php')
-rw-r--r-- | tbl_select.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tbl_select.php b/tbl_select.php index 507bd963c7..2e4d9c3380 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -304,9 +304,10 @@ echo PMA_generate_html_tabs(PMA_tbl_getSubTabs(), $url_params, '', 'topmenu2'); $tmp_geom_func = isset($geom_func[$i]) ? $geom_func[$i] : null; $whereClause = PMA_tbl_search_getWhereClause($fields[$i], $names[$i], $types[$i], $collations[$i], $func_type, $unaryFlag, $tmp_geom_func); - if($whereClause) + if ($whereClause) { $w[] = $whereClause; - } // end for + } + } // end while if ($w) { $sql_query .= ' WHERE ' . implode(' AND ', $w); } |