mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 06:15:13 +00:00
Always prefer stricter string comparisons.
This commit is contained in:
1 parent
79d5434da2
commit
601f1a4717
25 files changed
+55
-55
No files matched your search
@@ -55,8 +55,8 @@ class Add extends Component
|
||||
|
||||
return;
|
||||
}
|
||||
if (empty($this->container) || $this->container == 'null') {
|
||||
if ($this->type == 'service') {
|
||||
if (empty($this->container) || $this->container === 'null') {
|
||||
if ($this->type === 'service') {
|
||||
$this->container = $this->subServiceName;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user