# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_pms_mypmspro/pms.mypmspro.php +++ components/com_comprofiler/plugin/user/plug_pms_mypmspro/pms.mypmspro.php @@ -362,7 +362,11 @@ // strip any bb code that might be present, but only in 0.4 if($pmsType==3) { require_once ( $_CB_framework->getCfg('absolute_path') . '/components/com_uddeim/bbparser.php' ); - $udde_msg=bbcode_strip($udde_msg); + if ( function_exists( 'bbcode_strip' ) ) { + $udde_msg=bbcode_strip($udde_msg); + } elseif ( function_exists( 'uddeIMbbcode_strip' ) ) { + $udde_msg=uddeIMbbcode_strip($udde_msg); + } } // now strip the remaining html tags