Skip to content

Commit

Permalink
Merge pull request #11 from ikhsan3adi/fix-loans
Browse files Browse the repository at this point in the history
Fix loan book search submit error
  • Loading branch information
ikhsan3adi authored Jul 8, 2024
2 parents e4f870c + fd878d9 commit e06f035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Controllers/Loans/LoansController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit e06f035

Please sign in to comment.