From fd878d9a428cc5f6bcd645548a364c2d228618c3 Mon Sep 17 00:00:00 2001 From: Ikhsan Satriadi Date: Mon, 8 Jul 2024 10:29:04 +0700 Subject: [PATCH] Fix loan book search submit error :smile: --- app/Controllers/Loans/LoansController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Loans/LoansController.php b/app/Controllers/Loans/LoansController.php index 94018a6..6f6fae0 100644 --- a/app/Controllers/Loans/LoansController.php +++ b/app/Controllers/Loans/LoansController.php @@ -237,7 +237,7 @@ function ($carry, $item) { */ public function new($validation = null, $oldInput = null) { - if ($this->request->getMethod() !== 'post') { + if ($this->request->getMethod() !== 'POST') { return redirect()->to('admin/loans/new/members/search'); }