|  | @ -311,8 +311,8 @@ function game_millionaire_SelectQuestion( &$aAnswer, $game, $attempt, &$milliona | 
			
		
	
		
		
			
				
					|  |  | 		$select = 'category='.$game->questioncategoryid; |  |  | 		$select = 'category='.$game->questioncategoryid; | 
			
		
	
		
		
			
				
					|  |  |         if( $game->subcategories){ |  |  |         if( $game->subcategories){ | 
			
		
	
		
		
			
				
					|  |  |             $cats = question_categorylist( $game->questioncategoryid); |  |  |             $cats = question_categorylist( $game->questioncategoryid); | 
			
		
	
		
		
			
				
					
					|  |  |             if( strpos( $cats, ',') > 0){ |  |  |             if( count( $cats)){ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 $select = 'category in ('.$cats.')'; |  |  |                 $select = 'q.category in ('.implode(',', $cats).')'; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |             }             |  |  |             }             | 
			
		
	
		
		
			
				
					|  |  |         }  						 |  |  |         }  						 | 
			
		
	
		
		
			
				
					|  |  | 		$select .= " AND qtype='multichoice'"; |  |  | 		$select .= " AND qtype='multichoice'"; | 
			
		
	
	
		
		
			
				
					|  | 
 |