# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.php +++ components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.php @@ -128,7 +128,12 @@ $userSettings = $_PLUGINS->call( $this->getPluginId(), 'getUserSettings', 'getForumModel', $params ); if ( isset( $userSettings ) ) { - $new['signature'] = cbGetParam( $postdata, 'forumsignature', null ); \ No newline at end of file + $version = substr( $forum->version, 0, 3 ); + if ( ( $forum->component == 'com_kunena' ) && ( strcasecmp( $version, '1.6' ) == 0 ) ) { + $new['signature'] = stripslashes( cbGetParam( $postdata, 'forumsignature', null ) ); + } else { + $new['signature'] = cbGetParam( $postdata, 'forumsignature', null ); + } \ No newline at end of file $new['ordering'] = cbGetParam( $postdata, 'forumorder', null ); $new['view'] = cbGetParam( $postdata, 'forumview', null ); $setQueries = array();