From 7e28e3e5f4f25989ac645adb006b30d3bb18100a Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Fri, 4 May 2018 19:48:01 +0200 Subject: [PATCH] using \PDO instead PDO (bugfix) --- src/Core/Install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Install.php b/src/Core/Install.php index 4ebc663e80..65ef1db241 100644 --- a/src/Core/Install.php +++ b/src/Core/Install.php @@ -274,7 +274,7 @@ class Install extends BaseObject $ck_funcs[3]['status'] = false; $ck_funcs[3]['help'] = L10n::t('Error: PDO or MySQLi PHP module required but not installed.'); } - if (!function_exists('mysqli_connect') && class_exists('pdo') && !in_array('mysql', PDO::getAvailableDrivers())) { + if (!function_exists('mysqli_connect') && class_exists('pdo') && !in_array('mysql', \PDO::getAvailableDrivers())) { $ck_funcs[3]['status'] = false; $ck_funcs[3]['help'] = L10n::t('Error: The MySQL driver for PDO is not installed.'); }