From da89625f95de9ec0d90d6d3475b963488ff7c337 Mon Sep 17 00:00:00 2001 From: CCCMichaelCole <108708612+CCCMichaelCole@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:21:01 +1300 Subject: [PATCH] FIX RegistryAdmin add missing return to import Add missing return to import function line 126, causing HttpResponse error is none. --- src/RegistryAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RegistryAdmin.php b/src/RegistryAdmin.php index b5c2ef4..ca7d8b9 100644 --- a/src/RegistryAdmin.php +++ b/src/RegistryAdmin.php @@ -123,6 +123,6 @@ public function import(array $data, Form $form): HTTPResponse } $form->sessionMessage($message, 'good'); - $this->redirectBack(); + return $this->redirectBack(); } }