From a40febdef922e0afb4d2c0134d3af056cdbf148c Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 16 Jul 2023 15:30:11 +0100 Subject: Update error message files, increment version --- app/Http/Controllers/GuestbookController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Http/Controllers') diff --git a/app/Http/Controllers/GuestbookController.php b/app/Http/Controllers/GuestbookController.php index da5391d..12b1c7f 100644 --- a/app/Http/Controllers/GuestbookController.php +++ b/app/Http/Controllers/GuestbookController.php @@ -19,7 +19,7 @@ class GuestbookController extends Controller { $matching_bans = DB::select('SELECT reason FROM guestbook_bans WHERE ip_address = ?', array($request->ip())); if (count($matching_bans) > 0 ) { - return view('errors.guestbook-ban')->with('reason', $matching_bans[0]->reason); + return view('errors.guestbook-ipban')->with('reason', $matching_bans[0]->reason); } DB::insert('INSERT INTO guestbook_entries (name, timestamp, ip_address, agent, message) values (?, ?, ?, ?, ?)', array( -- cgit v1.2.3-54-g00ecf