aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/c13y_internal.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/c13y_internal.class.php')
-rw-r--r--admin/include/c13y_internal.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/c13y_internal.class.php b/admin/include/c13y_internal.class.php
index bb05c316b..820683bff 100644
--- a/admin/include/c13y_internal.class.php
+++ b/admin/include/c13y_internal.class.php
@@ -47,7 +47,7 @@ class c13y_internal
$db_version = pwg_get_db_version();
$check_list[] = array('type' => $conf['dblayer'],
'current' => $db_version,
- 'required' => constant('REQUIRED_'.strtoupper($conf['dblayer']).'_VERSION')
+ 'required' => constant('REQUIRED_'.str_replace('-', '_', strtoupper($conf['dblayer'])).'_VERSION')
);
foreach ($check_list as $elem)