From 6f69889e52d7a86dfc3a9c390dd58f84654e0f0c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 4 Jun 2007 17:03:26 +0000 Subject: [PATCH] RFE #1714760 Obey ShowCreateDb on the Databases tab --- ChangeLog | 1 + server_databases.php | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 962017368..30fe49011 100644 --- a/ChangeLog +++ b/ChangeLog @@ -85,6 +85,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #1724401 Column truncation in repair table output - patch #1726500 Wrong position of , thanks to Jürgen Wind - bug #1728590 Detected failing session_start fails, thanks to Jürgen Wind +- RFE #1714760 Obey ShowCreateDb on the Databases tab 2.10.1.0 (2007-04-23) ===================== diff --git a/server_databases.php b/server_databases.php index 8f8ba3867..a0bdaffce 100644 --- a/server_databases.php +++ b/server_databases.php @@ -377,10 +377,12 @@ unset($databases_count); /** * Create new database. */ -echo '' . "\n"; +if ($cfg['ShowCreateDb']) { + echo '' . "\n"; +} /** * Sends the footer