mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSformElement :: select_box : fix isValidValue() method in inherited context
This commit is contained in:
parent
5d7264fda8
commit
aacfe2d6e0
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class LSformElement_select extends LSformElement {
|
|||
*/
|
||||
public function isValidValue($value,$possible_values=False) {
|
||||
if (!is_array($possible_values)) {
|
||||
if (isset($this) && get_class($this) == __CLASS__ && is_array($this -> params['text_possible_values'])) {
|
||||
if (isset($this) && is_a($this, __CLASS__) && is_array($this -> params['text_possible_values'])) {
|
||||
$possible_values=$this -> params['text_possible_values'];
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue