Changeset 3488 for trunk/include/picture_comment.inc.php
- Timestamp:
- Jul 1, 2009, 10:56:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r3452 r3488 47 47 48 48 $comm = array( 49 'author' => trim( stripslashes(@$_POST['author'])),50 'content' => trim( stripslashes($_POST['content'])),49 'author' => trim(@$_POST['author']), 50 'content' => trim($_POST['content']), 51 51 'image_id' => $page['image_id'], 52 52 ); … … 122 122 { 123 123 $validated_clause = ' AND validated = \'true\''; 124 } 125 else 124 } 125 else 126 126 { 127 127 $validated_clause = ''; … … 143 143 while ($row = mysql_fetch_array($result)) 144 144 { 145 if (!empty($row['author'])) 145 if (!empty($row['author'])) 146 146 { 147 147 $author = $row['author']; … … 196 196 if ($row['validated'] != 'true') 197 197 { 198 $tpl_comment['U_VALIDATE'] = 198 $tpl_comment['U_VALIDATE'] = 199 199 add_url_params($url_self, 200 200 array('action' => 'validate_comment',
Note: See TracChangeset
for help on using the changeset viewer.