From ff512260ad793d6b178562c7e353490f93a91806 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 17 Aug 2016 15:41:59 +0200 Subject: [PATCH] Fixed problems in DB Status, in information of sql statements. GitHub: #57 (cherry picked from commit 07234fa0879a640d2719b747d0150d3694aa7f1f) --- pandora_console/extensions/db_status.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/extensions/db_status.php b/pandora_console/extensions/db_status.php index 2a7b802e9b..bda57705ae 100755 --- a/pandora_console/extensions/db_status.php +++ b/pandora_console/extensions/db_status.php @@ -277,7 +277,7 @@ function extension_db_check_tables_differences($connection_test, ui_print_info_message( __('You can execute this SQL query for to fix.') . "
" . '
' .
-										"ALTER TABLE " . $table . " MODIFY COLUMN " . $field . " " . $value . ";" .
+										"ALTER TABLE " . $table . " MODIFY COLUMN " . $name_field . " " . $value . ";" .
 									'
' ); break; @@ -289,7 +289,7 @@ function extension_db_check_tables_differences($connection_test, ui_print_info_message( __('You can execute this SQL query for to fix.') . "
" . '
' .
-											"ALTER TABLE " . $table . " MODIFY COLUMN " . $field . "INT NULL;" .
+											"ALTER TABLE " . $table . " MODIFY COLUMN " . $name_field . "INT NULL;" .
 										'
' ); } @@ -297,7 +297,7 @@ function extension_db_check_tables_differences($connection_test, ui_print_info_message( __('You can execute this SQL query for to fix.') . "
" . '
' .
-											"ALTER TABLE " . $table . " MODIFY COLUMN " . $field . "INT NOT NULL;" .
+											"ALTER TABLE " . $table . " MODIFY COLUMN " . $name_field . "INT NOT NULL;" .
 										'
' ); }