Fix error with join and PHP 7.4.
This commit is contained in:
		| @@ -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(); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user