id)) { if ($tagsused = get_records('blog_tag_instance', 'entryid', $post->id)) { foreach ($tagsused as $usedtag) { $usedtags[] = $usedtag -> tagid; } } } if ($usehtmleditor) { // clean and convert to html before editting $options = new object(); $options->smiley = false; $options->filter = false; $options->nocache = true; $post->summary = format_text($post->summary, $post->format, $options); } ?>