Skip to content

Commit

Permalink
Merge pull request #1474 from tripal/tv4g4-issue1472-form_state-bug
Browse files Browse the repository at this point in the history
Tripal 4 Issue 1472 $form_state bugfix
  • Loading branch information
laceysanderson committed Apr 9, 2023
2 parents de2d307 + 9e9169a commit 58bee55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tripal_chado/src/Plugin/TripalImporter/OBOImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public function formSubmit($form, &$form_state) {
\Drupal::messenger()->addMessage(t("The vocabulary @vocab has been added.", ['@vocab' => $obo_name]));
}
else {
$form_state['rebuild'] = TRUE;
$form_state->setRebuild(True);
\Drupal::messenger()->addError(t("The vocabulary @vocab could not be added.", ['@vocab' => $obo_name]));
}
}
Expand Down

0 comments on commit 58bee55

Please sign in to comment.