X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3f83c548f8bf67d3c670083f255a21897ef803d9..refs/pull/2023/head:/app/Http/Controllers/Images/GalleryImageController.php diff --git a/app/Http/Controllers/Images/GalleryImageController.php b/app/Http/Controllers/Images/GalleryImageController.php index fd52ffd3f..e506215ca 100644 --- a/app/Http/Controllers/Images/GalleryImageController.php +++ b/app/Http/Controllers/Images/GalleryImageController.php @@ -48,7 +48,7 @@ class GalleryImageController extends Controller { $this->checkPermission('image-create-all'); $this->validate($request, [ - 'file' => $this->imageRepo->getImageValidationRules() + 'file' => $this->getImageValidationRules() ]); try {