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:
authorMarc Delisle <marc@infomarc.info>2013-09-04 15:52:07 +0400
committerMarc Delisle <marc@infomarc.info>2013-09-04 15:52:07 +0400
commit252d067fc1e734e52584ff6f4c2380fb477ded6c (patch)
tree2f8f8e05d40c10b15f27dd8d0122d452a5d93471 /db_datadict.php
parent169aa233e4a38faa84ecc7d5d527092184029022 (diff)
Fix codestyle
Diffstat (limited to 'db_datadict.php')
-rw-r--r--db_datadict.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/db_datadict.php b/db_datadict.php
index 6a17a57af8..f08a5c4779 100644
--- a/db_datadict.php
+++ b/db_datadict.php
@@ -207,10 +207,11 @@ foreach ($tables as $table) {
}
$column_name = $row['Field'];
+ $tmp_column = $analyzed_sql[0]['create_table_fields'][$column_name];
if (PMA_MYSQL_INT_VERSION < 50025
- && ! empty($analyzed_sql[0]['create_table_fields'][$column_name]['type'])
- && $analyzed_sql[0]['create_table_fields'][$column_name]['type'] == 'TIMESTAMP'
- && $analyzed_sql[0]['create_table_fields'][$column_name]['timestamp_not_null']
+ && ! empty($tmp_column['type'])
+ && $tmp_column['type'] == 'TIMESTAMP'
+ && $tmp_column['timestamp_not_null']
) {
// here, we have a TIMESTAMP that SHOW FULL COLUMNS reports as
// having the NULL attribute, but SHOW CREATE TABLE says the