From 888869360055339c5af7d1f6eb7564b22de6a4a9 Mon Sep 17 00:00:00 2001 From: sminnee Date: Fri, 15 Oct 2010 01:15:14 +0000 Subject: [PATCH] BUGFIX If database version can't be determined, just use the database adapter class (from r105726) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112394 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index b6c10ca..15e4d98 100644 --- a/install.php +++ b/install.php @@ -919,7 +919,7 @@ class Installer extends InstallRequirements { $dbType = $config['db']['type']; // Try to determine the database version from the helper - $databaseVersion = ''; + $databaseVersion = $config['db']['type']; $helper = $this->getDatabaseConfigurationHelper($dbType); if($helper && method_exists($helper, 'getDatabaseVersion')) { $databaseVersion = urlencode($dbType . ': ' . $helper->getDatabaseVersion($config['db'][$dbType]));