diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_test.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/show_test.inc.php b/templates/show_test.inc.php index ffb3c633..2f4bbe3f 100644 --- a/templates/show_test.inc.php +++ b/templates/show_test.inc.php @@ -194,8 +194,7 @@ <td valign="top"><?php echo T_("Database connection"); ?></td> <td valign="top">[ <?php - $db = Dba::check_database($results['database_hostname'], $results['database_username'], $results['database_password'],$results['database_name']); - if (!$db) { + if (!Dba::check_database()) { echo debug_result('',false); } else { |