fix: sentry issue
This commit is contained in:
parent
4af471ee31
commit
706e4b13ee
1 changed files with 4 additions and 1 deletions
|
|
@ -275,8 +275,11 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
|
||||||
return $labels->all();
|
return $labels->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
function isDatabaseImage(string $image)
|
function isDatabaseImage(?string $image = null)
|
||||||
{
|
{
|
||||||
|
if (is_null($image)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$image = str($image);
|
$image = str($image);
|
||||||
if ($image->contains(':')) {
|
if ($image->contains(':')) {
|
||||||
$image = str($image);
|
$image = str($image);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue