if ($type == 'thread') { $post['threaddesc'] = htmlspecialchars_uni($post['threaddesc']); $dataman->set('threaddesc', $post['threaddesc']); }