From 8b6e9f4e18cb8fbce6bb44f88474493476daf87e Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 7 Nov 2008 17:21:50 +0100 Subject: [PATCH] Allow wiki_preview in Post. Signed-off-by: Florent Bruneau --- modules/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core.php b/modules/core.php index db4c7a1..8792c62 100644 --- a/modules/core.php +++ b/modules/core.php @@ -187,7 +187,7 @@ class CoreModule extends PLModule function handler_wiki_preview(&$page, $action = 'title') { header('Content-Type: text/html; charset=utf-8'); - $text = Get::v('text'); + $text = Env::v('text'); echo MiniWiki::wikiToHtml($text, $action == 'title'); exit; } -- 2.1.4