Don't use stripslashes on data coming from database

This commit is contained in:
gustav_delius 2006-10-07 17:18:15 +00:00
parent c0e19266db
commit 1ca20e0272

View File

@ -255,12 +255,12 @@ function add_tags_info($postid) {
$tag = new object();
$tag->entryid = $post->id;
$tag->userid = $post->userid;
$tag->timemodified = time();
/// Add tags information
if ($otags = optional_param('otags','', PARAM_INT)) {
foreach ($otags as $otag) {
$tag->tagid = $otag;
$tag->timemodified = time();
/// Add tags information
if ($otags = optional_param('otags','', PARAM_INT)) {
foreach ($otags as $otag) {
$tag->tagid = $otag;
insert_record('blog_tag_instance', $tag);
}
}