aboutsummaryrefslogtreecommitdiff
path: root/app/Models/GuestbookEntry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/GuestbookEntry.php')
-rw-r--r--app/Models/GuestbookEntry.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/GuestbookEntry.php b/app/Models/GuestbookEntry.php
index f5e2de2..6eee6bd 100644
--- a/app/Models/GuestbookEntry.php
+++ b/app/Models/GuestbookEntry.php
@@ -20,8 +20,8 @@ class GuestbookEntry extends Model
*/
public static function insertGuestbookEntry(Request $request) {
$newEntry = new GuestbookEntry;
- $newEntry->name = htmlspecialchars($request->get('name'));
- $newEntry->message = htmlspecialchars($request->get('message'));
+ $newEntry->name = $request->get('name');
+ $newEntry->message = $request->get('message');
$newEntry->ip = $request->ip();
$newEntry->agent = $request->userAgent();
$newEntry->admin = auth()->check();