Changeset 132
- Timestamp:
- 2008-02-17 09:28:20 (11 months ago)
- Files:
-
- trunk/classes/pages/Edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/classes/pages/Edit.php
r19 r132 63 63 // commit to database 64 64 $q = $C->prepare('UPDATE ' . $SETTINGS['dbtableprefix'] . 'posts SET post=:post, edited=:edited, editedby=:by WHERE postid=:id'); 65 $q->bindParam(':post', $F->htmlentities($post ), PDO::PARAM_STR);65 $q->bindParam(':post', $F->htmlentities($post, TRUE), PDO::PARAM_STR); 66 66 $_now = new DateTime('now', new DateTimeZone('UTC')); 67 67 $q->bindParam(':edited', $_now->format('Y-m-d H:i:s'), PDO::PARAM_STR);
