aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-12-18 14:25:13 +0100
committerKevin Chabowski <kevin@kch42.de>2011-12-18 14:25:13 +0100
commit7d6a5eca4e0a38ae615634542859d29ab79c94e8 (patch)
tree371d03aed7bbbc87a005ac2d33e6138163d9e0b8 /ratatoeskr/frontend.php
parent58ca56ac72724ed86690cbb75f91cdde8f5b2737 (diff)
downloadratatoeskr-cms-7d6a5eca4e0a38ae615634542859d29ab79c94e8.tar.gz
ratatoeskr-cms-7d6a5eca4e0a38ae615634542859d29ab79c94e8.tar.bz2
ratatoeskr-cms-7d6a5eca4e0a38ae615634542859d29ab79c94e8.zip
Modified db-model for plugins and fixed a bug in the frontend.
* The db-model for plugins was updated, so it is compatible with the plugin packages. * Preview of comments now works again.
Diffstat (limited to 'ratatoeskr/frontend.php')
-rw-r--r--ratatoeskr/frontend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php
index 349fe80..f022958 100644
--- a/ratatoeskr/frontend.php
+++ b/ratatoeskr/frontend.php
@@ -750,7 +750,7 @@ function frontend_url_handler(&$data, $url_now, &$url_next)
if(isset($_GET["comment"]))
{
if(isset($_POST["preview_comment"]))
- $ste->vars["current"]["comment_prev"] = comment_filter(textprocessor_apply($_POST["comment_text"], $ratatoeskr_settings["comment_textprocessor"]));
+ $ste->vars["current"]["comment_prev"] = Comment::htmlize_comment_text($_POST["comment_text"]);
else if(isset($_POST["post_comment"]))
{
$rejected = False;