mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-07-01 07:53:43 +02:00
LSformRule :: compare : fix find operator method
This commit is contained in:
parent
c357c70596
commit
b6367fce34
|
@ -48,9 +48,9 @@ class LSformRule_compare extends LSformRule {
|
||||||
|
|
||||||
if (empty($operator_name)) {
|
if (empty($operator_name)) {
|
||||||
return '==';
|
return '==';
|
||||||
} elseif (isset($this->_operators[$operator_name])) {
|
} elseif (isset($_operators[$operator_name])) {
|
||||||
return $this->_operators[$operator_name];
|
return $_operators[$operator_name];
|
||||||
} elseif (in_array($operator_name, $this->_operators)) {
|
} elseif (in_array($operator_name, $_operators)) {
|
||||||
return $operator_name;
|
return $operator_name;
|
||||||
} else {
|
} else {
|
||||||
return '==';
|
return '==';
|
||||||
|
|
Loading…
Reference in a new issue