diff --git a/html/ops/dbinfo.php b/html/ops/dbinfo.php
index a336d1e3ca..2949f310ab 100644
--- a/html/ops/dbinfo.php
+++ b/html/ops/dbinfo.php
@@ -25,7 +25,7 @@ class DB_REC {
}
-$db_name = parse_config($config, "");
+$db_name = parse_config(get_config(), "");
db_init();