Add manufacturer and scale to response data. Should probably just be returning the whole object.
This commit is contained in:
		
							parent
							
								
									1e0beb87da
								
							
						
					
					
						commit
						e3372afa30
					
				| 
						 | 
					@ -15,6 +15,8 @@ if ( $_SESSION['currentalbum'] != 0 ) {
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        $griditems = Image::getImagesForAlbum($album->getID());
 | 
					        $griditems = Image::getImagesForAlbum($album->getID());
 | 
				
			||||||
        $data["albumtitle"] = $album->getTitle();
 | 
					        $data["albumtitle"] = $album->getTitle();
 | 
				
			||||||
 | 
					        $data["albumscale"] = $album->getScale();
 | 
				
			||||||
 | 
					        $data["albummanufacturer"] = $album->getManufacturer();
 | 
				
			||||||
        $data["albumdescription"] = $album->getDescription();
 | 
					        $data["albumdescription"] = $album->getDescription();
 | 
				
			||||||
        $data["images"] = $griditems;
 | 
					        $data["images"] = $griditems;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user