Test
This commit is contained in:
parent
7c60cedfa2
commit
c41207be87
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class PublicController extends BaseController
|
|||
|
||||
public function returnImageFile($tenant, $gallery, $image, Request $request) {
|
||||
$sizeName = $request->input("size", "medium");
|
||||
if(array_key_exists($sizeName, $this->size)) {
|
||||
if(!array_key_exists($sizeName, $this->size)) {
|
||||
abort(400, "Size not exists");
|
||||
}
|
||||
$size = $this->size[$sizeName];
|
||||
|
|
Loading…
Reference in a new issue