Skip to content

Commit

Permalink
Fix some more coding style
Browse files Browse the repository at this point in the history
Signed-off-by: Chirayu Chiripal <[email protected]>
  • Loading branch information
chirayuchiripal committed Mar 7, 2015
1 parent 70d5c7a commit 72b07ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion db_search.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
$db_search = new PMA_DbSearch($GLOBALS['db']);

// Display top links if we are not in an Ajax request
if ( $GLOBALS['is_ajax_request'] != true) {
if ($GLOBALS['is_ajax_request'] != true) {
include 'libraries/db_info.inc.php';
}

Expand Down
11 changes: 6 additions & 5 deletions db_structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,12 @@
* I could have used the PHP ternary conditional operator but I find
* the code easier to read without this operator.
*/
list($browse_table, $search_table, $browse_table_label, $empty_table,
$tracking_icon) = PMA_getHtmlForActionLinks(
$current_table, $table_is_view, $tbl_url_query,
$titles, $truename, $db_is_system_schema, $url_query
);
list($browse_table, $search_table, $browse_table_label,
$empty_table, $tracking_icon
) = PMA_getHtmlForActionLinks(
$current_table, $table_is_view, $tbl_url_query,
$titles, $truename, $db_is_system_schema, $url_query
);

if (! $db_is_system_schema) {
list($drop_query, $drop_message)
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
* Such scripts must not be loaded on home page.
*
*/
$target_blacklist = array (
$target_blacklist = array (
'import.php', 'export.php'
);
);

// If we have a valid target, let's load that script instead
if (! empty($_REQUEST['target'])
Expand Down
2 changes: 1 addition & 1 deletion tbl_zoom_select.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
$err_url = $goto . PMA_URL_getCommon(array('db' => $db, 'table' => $table));

//Set default datalabel if not selected
if ( !isset($_POST['zoom_submit']) || $_POST['dataLabel'] == '') {
if (!isset($_POST['zoom_submit']) || $_POST['dataLabel'] == '') {
$dataLabel = PMA_getDisplayField($db, $table);
} else {
$dataLabel = $_POST['dataLabel'];
Expand Down

0 comments on commit 72b07ca

Please sign in to comment.