diff options
author | Frankie B <git@diskfloppy.me> | 2023-07-16 15:30:11 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2023-07-16 15:32:06 +0100 |
commit | b9f2604bb5baacd3a2daef886acee6fba6029fd7 (patch) | |
tree | 22a1091b2b5ca088a1d1d6e5ecaa0169365555aa /app/Http/Controllers | |
parent | 65b02f3b8df505b60230af0647d7187f4dc7cfd7 (diff) |
Update error message files, increment version
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r-- | app/Http/Controllers/GuestbookController.php | 2 |
1 files changed, 1 insertions, 1 deletions
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( |