From 68a79dce6a0a4ca7c6989a272cb4787ec08df04d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Nov 2021 18:07:49 +0100 Subject: [PATCH] fix PHP 8.0 TypeError: Unsupported operand types --- 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 3a6e0081bb..072d3d2de7 100644 --- a/api/src/Storage/Base.php +++ b/api/src/Storage/Base.php @@ -492,7 +492,7 @@ class Base $this->init($keys); $this->data2db(); - $query = false; + $query = []; foreach ($this->db_key_cols as $db_col => $col) { if ($this->data[$col] != '')