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
1 changed files with 2 additions and 2 deletions

View File

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