mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 21:18:11 -04:00
Merge remote-tracking branch 'origin/main' into next
This commit is contained in:
@@ -307,7 +307,11 @@ class EnvironmentVariable extends BaseModel
|
||||
|
||||
$value = $this->get_real_environment_variables_internal($this->value, $resource, null, $revealLockedSharedVariables, $sharedVariables, $canReveal);
|
||||
|
||||
return $value === null || ! $escapeLegacyValue || ! $this->uses_legacy_escaping ? $value : $this->legacyEscapedValue($value);
|
||||
if ($value === null || ! $escapeLegacyValue || ! $this->uses_legacy_escaping) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
return method_exists($resource, 'useExactEscaping') && $resource->useExactEscaping($this) ? $value : $this->legacyEscapedValue($value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user