From 5501bdce7e73eda4ed0b5fa85163c4b65962351a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 24 Jan 2009 17:32:16 +0000 Subject: [PATCH] Show AUTO_INCREMENT instead of A_I when in vertical mode --- ChangeLog | 1 + libraries/tbl_properties.inc.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 85350612d..94bddee38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - patch #2520747 [core] E_DEPRECATED compatibility for PHP 5.3, thanks to Giovanni Giacobbi - themnemonic - bug [display] Message "Bookmark created" is not displaying ++ [display] Show AUTO_INCREMENT instead of A_I when in vertical mode 3.1.2.0 (2009-01-19) - bug #1253252 [display] Can't NULL a column with relation defined diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php index 8975dc492..849cddfc3 100644 --- a/libraries/tbl_properties.inc.php +++ b/libraries/tbl_properties.inc.php @@ -114,7 +114,7 @@ if (!$is_backup) { $header_cells[] = $strIndex; } -$header_cells[] = 'A_I'; +$header_cells[] = '' . ($display_type == 'horizontal' ? 'A_I' : 'AUTO_INCREMENT') . ''; require_once './libraries/relation.lib.php'; require_once './libraries/transformations.lib.php';