Stuff
This commit is contained in:
parent
0d558b2ab0
commit
0578d5e3af
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class PublicController extends BaseController
|
||||||
if(!array_key_exists($sizeName, self::$size)) {
|
if(!array_key_exists($sizeName, self::$size)) {
|
||||||
abort(400, "Size not exists");
|
abort(400, "Size not exists");
|
||||||
}
|
}
|
||||||
$size = (int)$this->size[$sizeName];
|
$size = (int)self::$size[$sizeName];
|
||||||
|
|
||||||
$image = Image::query()->where("id", "=", $image_id)->firstOrFail();
|
$image = Image::query()->where("id", "=", $image_id)->firstOrFail();
|
||||||
$gallery = Gallery::query()->where("url", "=", $gallery_url)->firstOrFail();
|
$gallery = Gallery::query()->where("url", "=", $gallery_url)->firstOrFail();
|
||||||
|
|
Loading…
Reference in a new issue