|
From: Jon O. <jon...@us...> - 2008-07-02 22:03:03
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14574 Modified Files: Tag: core28x mx_functions_tools.php Log Message: A couple of commenting fixes Index: mx_functions_tools.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_tools.php,v retrieving revision 1.15.2.8 retrieving revision 1.15.2.9 diff -C2 -d -r1.15.2.8 -r1.15.2.9 *** mx_functions_tools.php 22 May 2008 21:08:00 -0000 1.15.2.8 --- mx_functions_tools.php 2 Jul 2008 22:02:52 -0000 1.15.2.9 *************** *** 3823,3826 **** --- 3823,3834 ---- // + // Little temp fix for autogenerated comments, with newlines. + // + if ($this->allow_comment_wysiwyg) + { + $comments_text = str_replace("\n", "\n<br />\n", $comments_text); + } + + // // Remove Images and/or links // *************** *** 3981,3984 **** --- 3989,3997 ---- // + // Ensure Item data topic_id is valid + // + $this->validate_topic_id(); + + // // Request vars // *************** *** 4055,4058 **** --- 4068,4079 ---- // + // Little temp fix for autogenerated comments, with newlines. + // + if ($this->allow_comment_wysiwyg) + { + $comments_text = str_replace("\n", "\n<br />\n", $comments_text); + } + + // // Remove Images and/or links // |