Skip to content

Commit

Permalink
#526: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuaitk committed Jan 25, 2024
1 parent 1ce6122 commit b424682
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function formAlter(array &$form, FormStateInterface $form_state, string $
}

if ('maestro_interactive_form' === $form_id) {
if (isset($form['error'])) {
if (isset($form['error']['#markup'])) {
$markup = $form['error']['#markup'];
if ($markup instanceof TranslatableMarkup) {
if ('You do not have access to this task. The task has either been reassigned or is no longer valid.' === $markup->getUntranslatedString()) {
Expand Down

0 comments on commit b424682

Please sign in to comment.