From d3be189245881ddc8bb7b6e428ee75a2f0315355 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Nov 2021 17:44:46 +0100 Subject: [PATCH] fix PHP 8.0 TypeError: Illegal offset type --- api/src/Storage/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Storage/Base.php b/api/src/Storage/Base.php index 3fa3d70d27..3a6e0081bb 100644 --- a/api/src/Storage/Base.php +++ b/api/src/Storage/Base.php @@ -513,7 +513,7 @@ class Base $q = array(); foreach($col as $db_c => $c) { - if ($this->data[$col] == '') + if ($this->data[$c] == '') { $q = null; break;