# 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/comprofiler.html.php +++ components/com_comprofiler/comprofiler.html.php @@ -1113,6 +1113,9 @@ define('_UE_LOGIN_FROM', 'loginform' ); $_CB_database->setQuery( "SELECT params from #__modules WHERE module = 'mod_cblogin' ORDER BY ordering", 0, 1 ); $raw_params = $_CB_database->loadResult(); + if ( checkJversion() == 2 ) { + $raw_params = http_build_query( json_decode( $raw_params ), '', "\n" ); + } $params = new cbParamsBase( $raw_params ); // needed for login module // $params of login module is needed for the include( $login_module_file ) below !! ob_start();