Project

General

Profile

Bug #2514 ยป 2514.patch

krileon, 03 May 2011 19:21

View differences:

components/com_comprofiler/comprofiler.html.php
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();
    (1-1/1)