From d04466cee494cf7eb74db41c86fd475be4d34f5f Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 28 Apr 2015 15:02:46 +0530 Subject: [PATCH] Fix indentation Signed-off-by: Madhura Jayaratne --- libraries/config.values.php | 14 +++++++------- .../schema/pdf/Pdf_Relation_Schema.class.php | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/libraries/config.values.php b/libraries/config.values.php index 5539dbab3c..cec70cd212 100644 --- a/libraries/config.values.php +++ b/libraries/config.values.php @@ -140,13 +140,13 @@ $cfg_db['Import']['charset'] = array_merge( ); $cfg_db['Import']['sql_compatibility'] = $cfg_db['Export']['sql_compatibility'] = array( - 'NONE', 'ANSI', 'DB2', 'MAXDB', 'MYSQL323', - 'MYSQL40', 'MSSQL', 'ORACLE', - // removed; in MySQL 5.0.33, this produces exports that - // can't be read by POSTGRESQL (see our bug #1596328) - //'POSTGRESQL', - 'TRADITIONAL' -); + 'NONE', 'ANSI', 'DB2', 'MAXDB', 'MYSQL323', + 'MYSQL40', 'MSSQL', 'ORACLE', + // removed; in MySQL 5.0.33, this produces exports that + // can't be read by POSTGRESQL (see our bug #1596328) + //'POSTGRESQL', + 'TRADITIONAL' + ); $cfg_db['Import']['csv_terminated'] = 'short_string'; $cfg_db['Import']['csv_enclosed'] = 'short_string'; $cfg_db['Import']['csv_escaped'] = 'short_string'; diff --git a/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php b/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php index 8bdc78357e..1083c4e9f3 100644 --- a/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php +++ b/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php @@ -788,7 +788,8 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema ($this->diagram->getPageHeight() - $topSpace - $bottomSpace) / $gridSize ); $l <= $size; - $l++) { + $l++ + ) { $this->diagram->line( 0, $l * $gridSize + $topSpace, $this->diagram->getPageWidth(), $l * $gridSize + $topSpace