parent
					
						
							
								8b15a8d9b5
							
						
					
				
			
			
				commit
				
					
						d74cfc2b6e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								api.php
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								api.php
									
										
									
									
									
								
							|  | @ -731,7 +731,7 @@ class REST_CRUD_API { | |||
| 	protected function findRelations($tables,$database,$db) { | ||||
| 		$collect = array(); | ||||
| 		$select = array(); | ||||
| 		if (count($tables)>1) { | ||||
| 		while (count($tables)>1) { | ||||
| 			$table0 = array_shift($tables); | ||||
| 
 | ||||
| 			$result = $this->query($db,$this->queries['reflect_belongs_to'],array($table0,$tables,$database,$database)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Maurits van der Schee
				Maurits van der Schee