From 072eeb565e034b5ac24600be33f5341fa7ada54a Mon Sep 17 00:00:00 2001 From: Moc Date: Fri, 27 Jun 2014 12:19:41 +0200 Subject: [PATCH] #614 - Temporary fix for TinyMCE4 not showing with PHP 5.3 --- e107_plugins/tinymce4/wysiwyg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/tinymce4/wysiwyg.php b/e107_plugins/tinymce4/wysiwyg.php index 68128814c..c20332a99 100644 --- a/e107_plugins/tinymce4/wysiwyg.php +++ b/e107_plugins/tinymce4/wysiwyg.php @@ -99,7 +99,7 @@ class wysiwyg $this->getConfig($config); $text .= "\n /* TinyMce Config: ".$this->configName." */\n\n"; $text .= "tinymce.init("; - $text .= json_encode($this->config, JSON_PRETTY_PRINT); + $text .= json_encode($this->config); // Moc: temporary fix for BC with PHP 5.3: https://github.com/e107inc/e107/issues/614 $text .= ");"; return stripslashes($text);