From e0f85b87c2443a43ebd2429148f9e86e8d1a335c 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 28b180df8..a37e6ceb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,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 4a430707f..72bf9eae8 100644 --- a/libraries/tbl_properties.inc.php +++ b/libraries/tbl_properties.inc.php @@ -113,7 +113,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';