Fix error on where_in with string values.
This commit is contained in:
		@@ -407,9 +407,9 @@ class ModelMySQL {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if ($in)
 | 
			
		||||
            static::$querySelect['where'] = "$column IN (".join(', ',$arr).")";
 | 
			
		||||
            static::$querySelect['where'] = "$column IN ('".join('\', \'',$arr)."')";
 | 
			
		||||
        else
 | 
			
		||||
            static::$querySelect['where'] = "$column NOT IN (".join(', ',$arr).")";
 | 
			
		||||
            static::$querySelect['where'] = "$column NOT IN ('".join('\', \'',$arr)."')";
 | 
			
		||||
 | 
			
		||||
        return new static();
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user