From: Joe Hunt Date: Sat, 25 Nov 2017 09:00:46 +0000 (+0100) Subject: Misleading on system diagnostics (MariaDB), fixed. X-Git-Tag: v2.4.4~52 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=9bd1f1dba9f5e95cbe499f1cc4fa078ddeb94426 Misleading on system diagnostics (MariaDB), fixed. --- diff --git a/includes/system_tests.inc b/includes/system_tests.inc index 1e8881a1..3b8c8bbd 100644 --- a/includes/system_tests.inc +++ b/includes/system_tests.inc @@ -24,7 +24,7 @@ function tst_mysql() $test['descr'] = _('MySQL version'). ' >=4.1'; $test['type'] = 3; $test['test'] = db_get_version(); - $test['result'] = $test['test']>='4.1'; + $test['result'] = $test['test']>='4.1' || explode('-', $test['test'])[1] == 'MariaDB'; $test['comments'] = _('Upgrade MySQL server to version at least 4.1'); return $test;