|  |  | @ -744,7 +744,7 @@ class QueryBuilder extends \yii\base\Object | 
			
		
	
		
		
			
				
					
					|  |  |  | 		$parts = array(); |  |  |  | 		$parts = array(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 		foreach ($condition as $column => $value) { |  |  |  | 		foreach ($condition as $column => $value) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 			if (is_array($value)) { // IN condition |  |  |  | 			if (is_array($value)) { // IN condition | 
			
		
	
		
		
			
				
					
					|  |  |  | 				$parts[] = $this->buildInCondition('in', array($column, $value), $query); |  |  |  | 				$parts[] = $this->buildInCondition('in', array($column, $value), $params); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} else { |  |  |  | 			} else { | 
			
		
	
		
		
			
				
					
					|  |  |  | 				if (strpos($column, '(') === false) { |  |  |  | 				if (strpos($column, '(') === false) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 					$column = $this->db->quoteColumnName($column); |  |  |  | 					$column = $this->db->quoteColumnName($column); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |