From ece99b21c19dddab32d2e2a5af71b320ff3a118f Mon Sep 17 00:00:00 2001 From: Markus Turba Date: Thu, 23 Apr 2020 16:01:58 +0200 Subject: [PATCH 1/2] ignore Visual Studio IDE folder --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 0f9021904..373c284c2 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,4 @@ package-lock.json /public/js/vX.X.X/ /vendor/ /history/ +/.vs From 12f87cda9eac40f7cbb960cfb9406040ca673c5c Mon Sep 17 00:00:00 2001 From: Markus Turba Date: Thu, 23 Apr 2020 16:03:23 +0200 Subject: [PATCH 2/2] fixes eveSrcUrl calls without resourceId. --- app/Lib/Format/Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Lib/Format/Image.php b/app/Lib/Format/Image.php index 90a79ad58..3f9dff389 100644 --- a/app/Lib/Format/Image.php +++ b/app/Lib/Format/Image.php @@ -34,12 +34,12 @@ class Image extends \Prefab { /** * build image server src URL * @param string $resourceType - * @param int $resourceId + * @param int|null $resourceId * @param int|null $size * @param string|null $resourceVariant * @return string|null */ - public function eveSrcUrl(string $resourceType, int $resourceId, ?int $size = null, ?string $resourceVariant = null) : ?string { + public function eveSrcUrl(string $resourceType, ?int $resourceId = null, ?int $size = null, ?string $resourceVariant = null) : ?string { $url = null; if( $resourceId &&