Merge branch 'friendica:2022.12-rc' into new_image_presentation
This commit is contained in:
commit
c554af9c30
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Photo extends BaseApi
|
||||||
throw new HTTPException\BadRequestException('No photo id.');
|
throw new HTTPException\BadRequestException('No photo id.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$scale = (!empty($request['scale']) ? intval($request['scale']) : false);
|
$scale = (!empty($request['scale']) ? intval($request['scale']) : null);
|
||||||
$photo_id = $request['photo_id'];
|
$photo_id = $request['photo_id'];
|
||||||
|
|
||||||
// prepare json/xml output with data from database for the requested photo
|
// prepare json/xml output with data from database for the requested photo
|
||||||
|
|
Loading…
Reference in a new issue