Corrected bug on 404
This commit is contained in:
		
							parent
							
								
									00bb56fee8
								
							
						
					
					
						commit
						ebc30a3bc5
					
				
							
								
								
									
										2
									
								
								controllers/prototype/dbrequests.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								controllers/prototype/dbrequests.js
									
									
									
									
										vendored
									
									
								
							| @ -361,7 +361,7 @@ ExpIdChecker.prototype.execute = function() { | ||||
|         "SELECT scene_id FROM experiment WHERE id = $1;", | ||||
|         [self.id], | ||||
|         function(err, result) { | ||||
|             if (result === undefined) { | ||||
|             if (result === undefined || result.rows.length === 0) { | ||||
|                 self.finalResult = null; | ||||
|             } else { | ||||
|                 self.finalResult = result.rows[0].scene_id; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user