From 43c6833b20bdac61c60d6d441f7ccb1c67079bc2 Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Wed, 19 Jul 2017 11:19:45 +0200 Subject: [PATCH] Dev More information in the error message when trying to dump the database. --- application/controllers/admin/dumpdb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/admin/dumpdb.php b/application/controllers/admin/dumpdb.php index 33d2f4c3d25..4672d3b6dd5 100644 --- a/application/controllers/admin/dumpdb.php +++ b/application/controllers/admin/dumpdb.php @@ -31,7 +31,7 @@ function __construct($controller, $id) if (!in_array(Yii::app()->db->getDriverName(), array('mysql', 'mysqli')) || Yii::app()->getConfig('demoMode') == true) { - die(sprintf(gT('This feature is only available for MySQL databases. Your database type is %s.'),Yii::app()->db->getDriverName()); + die(sprintf(gT('This feature is only available for MySQL databases. Your database type is %s.'),Yii::app()->db->getDriverName())); } }