diff --git a/tbl_zoom_select.php b/tbl_zoom_select.php
index 2352fc1fb7..ad90043308 100644
--- a/tbl_zoom_select.php
+++ b/tbl_zoom_select.php
@@ -36,14 +36,13 @@ $GLOBALS['js_include'][] = 'jquery/timepicker.js';
*/
if (isset($_REQUEST['get_data_row']) && $_REQUEST['get_data_row'] == true) {
-
$extra_data = array();
$row_info_query = 'SELECT * FROM `' . $_REQUEST['db'] . '`.`' . $_REQUEST['table'] . '` WHERE ' . $_REQUEST['where_clause'];
$result = PMA_DBI_query( $row_info_query . ";" , null, PMA_DBI_QUERY_STORE);
$fields_meta = PMA_DBI_get_fields_meta($result);
- while ($row = PMA_DBI_fetch_assoc($result))
- $extra_data['row_info'] = $row;
-
+ while ($row = PMA_DBI_fetch_assoc($result)) {
+ $extra_data['row_info'] = $row;
+ }
PMA_ajaxResponse(NULL, true, $extra_data);
}
@@ -52,44 +51,41 @@ $titles['Browse'] = PMA_tbl_setTitle($GLOBALS['cfg']['PropertiesIconic'], $pmaTh
* Not selection yet required -> displays the selection form
*/
- // Gets some core libraries
- require_once './libraries/tbl_common.php';
- //$err_url = 'tbl_select.php' . $err_url;
- $url_query .= '&goto=tbl_select.php&back=tbl_select.php';
+// Gets some core libraries
+require_once './libraries/tbl_common.php';
+$url_query .= '&goto=tbl_select.php&back=tbl_select.php';
- /**
- * Gets tables informations
- */
- require_once './libraries/tbl_info.inc.php';
+/**
+ * Gets tables informations
+ */
+require_once './libraries/tbl_info.inc.php';
- /**
- * Displays top menu links
- */
- require_once './libraries/tbl_links.inc.php';
+/**
+ * Displays top menu links
+ */
+require_once './libraries/tbl_links.inc.php';
- if (! isset($goto)) {
- $goto = $GLOBALS['cfg']['DefaultTabTable'];
- }
- // Defines the url to return to in case of error in the next sql statement
- $err_url = $goto . '?' . PMA_generate_common_url($db, $table);
+if (! isset($goto)) {
+ $goto = $GLOBALS['cfg']['DefaultTabTable'];
+}
+// Defines the url to return to in case of error in the next sql statement
+$err_url = $goto . '?' . PMA_generate_common_url($db, $table);
- // Gets the list and number of fields
-
- list($fields_list, $fields_type, $fields_collation, $fields_null) = PMA_tbl_getFields($table,$db);
- $fields_cnt = count($fields_list);
-
- // retrieve keys into foreign fields, if any
- // check also foreigners even if relwork is FALSE (to get
- // foreign keys from innodb)
- $foreigners = PMA_getForeigners($db, $table);
- $flag = 1;
- $tbl_fields_type = $tbl_fields_collation = $tbl_fields_null = array();
- if(!isset($zoom_submit) && !isset($inputs))
- $dataLabel = PMA_getDisplayField($db,$table);
-
- ?>
+// Gets the list and number of fields
+list($fields_list, $fields_type, $fields_collation, $fields_null) = PMA_tbl_getFields($table,$db);
+$fields_cnt = count($fields_list);
+// retrieve keys into foreign fields, if any
+// check also foreigners even if relwork is FALSE (to get
+// foreign keys from innodb)
+$foreigners = PMA_getForeigners($db, $table);
+$flag = 1;
+$tbl_fields_type = $tbl_fields_collation = $tbl_fields_null = array();
+if (! isset($zoom_submit) && ! isset($inputs)) {
+ $dataLabel = PMA_getDisplayField($db,$table);
+}
+?>