Fix error with join and PHP 7.4.

This commit is contained in:
kj 2020-08-08 02:24:11 -04:00
parent fe98d94692
commit 8a46d9a3c9

View File

@ -657,9 +657,9 @@ class ModelMySQL {
} }
if (static::$querySelect['where']=='') if (static::$querySelect['where']=='')
static::$querySelect['where'] = join($where, ' OR '); static::$querySelect['where'] = join(' OR ', $where);
else else
static::$querySelect['where'] = static::$querySelect['where'] .' AND ('.join($where, ' OR ').')'; static::$querySelect['where'] = static::$querySelect['where'] .' AND ('.join(' OR ', $where).')';
return new static(); return new static();
} }