]> saetta.ns0.it Git - zakform/libzakform/commitdiff
Wrong variable.
authorAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2020 08:11:29 +0000 (09:11 +0100)
committerAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2020 08:11:29 +0000 (09:11 +0100)
src/formvalidatorcomposite.c

index 599dab9898634fbae65752f1c624a0c69080d006..5817c6893fe24353f960ab78ab8b06627cd08ebd 100644 (file)
@@ -425,7 +425,7 @@ _zak_form_validator_composite_validate (ZakFormValidator *validator, GNode *pare
                                {
                                        if (n_child->form_validator != NULL)
                                                {
-                                                       if (zak_form_validator_validate (n_child->element_validator) == n_child->condition_type)
+                                                       if (zak_form_validator_validate (n_child->form_validator) == n_child->condition_type)
                                                                {
                                                                        switch (n->logic_type)
                                                                                {