From e3372afa30bf1643281b4c6528edfc264a416801 Mon Sep 17 00:00:00 2001 From: junior Date: Wed, 16 Feb 2022 17:54:23 +0000 Subject: [PATCH] Add manufacturer and scale to response data. Should probably just be returning the whole object. --- ajax/getalbuminfo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ajax/getalbuminfo.php b/ajax/getalbuminfo.php index 1ac4faf..db4308e 100644 --- a/ajax/getalbuminfo.php +++ b/ajax/getalbuminfo.php @@ -15,6 +15,8 @@ if ( $_SESSION['currentalbum'] != 0 ) { } else { $griditems = Image::getImagesForAlbum($album->getID()); $data["albumtitle"] = $album->getTitle(); + $data["albumscale"] = $album->getScale(); + $data["albummanufacturer"] = $album->getManufacturer(); $data["albumdescription"] = $album->getDescription(); $data["images"] = $griditems; }