Skip to content

Commit ccb442f

Browse files
committed
Fixed typo.
1 parent dd50650 commit ccb442f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ public function check_mysql_version() {
267267
global $conf;
268268

269269
$min_mariadb_version = '10.0.5';
270-
$min_mysql_version = '8.0.0';
270+
$min_mysql_version = '8.0.4';
271271

272272
$rec = $this->db->queryOneRecord('SELECT VERSION() as mysql_version;');
273-
$version = if(is_array($rec))? $rec['mysql_version']: '0';
273+
$version = (is_array($rec))? $rec['mysql_version']: '0';
274274

275275
if(strpos($version,'MariaDB')) {
276276
// We have MariaDB

0 commit comments

Comments
 (0)