Skip to content

Commit

Permalink
RegistryAdmin add missing return to import
Browse files Browse the repository at this point in the history
Add missing return to import function line 126, causing HttpResponse error is none.
  • Loading branch information
CCCMichaelCole authored Dec 2, 2024
1 parent 92c1a52 commit ca33ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RegistryAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ public function import(array $data, Form $form): HTTPResponse
}

$form->sessionMessage($message, 'good');
$this->redirectBack();
return $this->redirectBack();
}
}

0 comments on commit ca33ccd

Please sign in to comment.