PMCORE-531

This commit is contained in:
Paula Quispe
2020-09-07 12:30:38 -04:00
parent 1dba138d63
commit c4226f8aa6

View File

@@ -250,9 +250,9 @@ class Admin extends Controller
}
try {
$sMySQLVersion = $dbNetView->getDbServerVersion( DB_ADAPTER );
$mysqlVersion = getMysqlVersion();
} catch (Exception $oException) {
$sMySQLVersion = '?????';
$mysqlVersion = '?????';
}
}
@@ -304,7 +304,7 @@ class Admin extends Controller
);
if (defined( "DB_HOST" )) {
$properties[] = array (G::LoadTranslation('ID_DATABASE') ,$dbNetView->dbName( DB_ADAPTER ) . ' (Version ' . $sMySQLVersion . ')',$pmSection
$properties[] = array (G::LoadTranslation('ID_DATABASE') ,$dbNetView->dbName( DB_ADAPTER ) . ' (Version ' . $mysqlVersion . ')',$pmSection
);
$properties[] = array (G::LoadTranslation('ID_DATABASE_SERVER') ,DB_HOST,$pmSection
);