From 896ccfbd0edcdc3ab3378bc6cc5c278e9258d1f3 Mon Sep 17 00:00:00 2001 From: schechterab <78549855+schechterab@users.noreply.github.com> Date: Mon, 15 Feb 2021 15:07:10 -0500 Subject: [PATCH] Update Sql.php update array ref for php8 compatibility --- QuickBooks/Driver/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuickBooks/Driver/Sql.php b/QuickBooks/Driver/Sql.php index c0601f34..74e400a1 100755 --- a/QuickBooks/Driver/Sql.php +++ b/QuickBooks/Driver/Sql.php @@ -3254,7 +3254,7 @@ protected function _initialize($init_options = array()) $dh = opendir($defaults['quickbooks_sql_schema']); while (false !== ($file = readdir($dh))) { - if ($file{0} == '.' or is_dir($defaults['quickbooks_sql_schema'] . '/' . $file)) + if ($file[0] == '.' or is_dir($defaults['quickbooks_sql_schema'] . '/' . $file)) { continue; }