Skip to content

Commit

Permalink
Escape Post IP
Browse files Browse the repository at this point in the history
  • Loading branch information
burnacid committed Apr 17, 2017
1 parent fc7411f commit a3b5d8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/plugins/trashbin.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ function trashbin_escape_post($post)
$post['username'] = $db->escape_string($post['username']);
$post['message'] = $db->escape_string($post['message']);
$post['editreason'] = $db->escape_string($post['editreason']);
$post['ipaddress'] = $db->escape_string($post['ipaddress']);

return $post;
}
Expand Down

0 comments on commit a3b5d8a

Please sign in to comment.