diff options
Diffstat (limited to 'app/Http/Controllers/GuestbookController.php')
-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( |