fix PHP 8.0 TypeError: Illegal offset type

This commit is contained in:
Ralf Becker 2021-11-23 17:44:46 +01:00
parent 68265cd7ab
commit d3be189245

View File

@ -513,7 +513,7 @@ class Base
$q = array(); $q = array();
foreach($col as $db_c => $c) foreach($col as $db_c => $c)
{ {
if ($this->data[$col] == '') if ($this->data[$c] == '')
{ {
$q = null; $q = null;
break; break;