Changeset 4304 for trunk/include/picture_comment.inc.php
- Timestamp:
- Nov 18, 2009, 9:07:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r4265 r4304 47 47 48 48 $comm = array( 49 'author' => trim( @$_POST['author']),50 'content' => trim( $_POST['content']),49 'author' => trim( stripslashes(@$_POST['author']) ), 50 'content' => trim( stripslashes($_POST['content']) ), 51 51 'image_id' => $page['image_id'], 52 52 ); … … 153 153 else 154 154 { 155 $author = $row['username'];155 $author = stripslashes($row['username']); 156 156 } 157 157
Note: See TracChangeset
for help on using the changeset viewer.