mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
fix: sentry issue
This commit is contained in:
1 parent
4af471ee31
commit
706e4b13ee
1 file changed
+4
-1
@@ -275,8 +275,11 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
|
||||
return $labels->all();
|
||||
}
|
||||
|
||||
function isDatabaseImage(string $image)
|
||||
function isDatabaseImage(?string $image = null)
|
||||
{
|
||||
if (is_null($image)) {
|
||||
return false;
|
||||
}
|
||||
$image = str($image);
|
||||
if ($image->contains(':')) {
|
||||
$image = str($image);
|
||||
|
||||
Reference in new issue
Block a user