$return, not $result default tip
authorDan Fuhry <dan@enanocms.org>
Mon, 17 Oct 2011 23:58:51 -0400
changeset 2 8c7e79d37074
parent 1 5f58dd1540b4
$return, not $result
TinyMCE.php
--- a/TinyMCE.php	Thu Jun 02 06:26:40 2011 -0400
+++ b/TinyMCE.php	Mon Oct 17 23:58:51 2011 -0400
@@ -19,7 +19,7 @@
 	return '?>' . RenderMan::render($text, RENDER_INLINE);
 }
 
-$plugins->attachHook('get_page_source', 'get_page_src_tinymce($result["src"]);');
+$plugins->attachHook('get_page_source', 'get_page_src_tinymce($return["src"]);');
 
 function get_page_src_tinymce(&$text)
 {