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