mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
CustomVariableString: immediate false for non-strings
This commit is contained in:
parent
4510ab3c42
commit
0c121cf4fe
@ -8,6 +8,10 @@ class CustomVariableString extends CustomVariable
|
|||||||
{
|
{
|
||||||
public function equals(CustomVariable $var)
|
public function equals(CustomVariable $var)
|
||||||
{
|
{
|
||||||
|
if (! $var instanceof CustomVariableString) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return $var->getValue() === $this->getValue();
|
return $var->getValue() === $this->getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user