URL redirection is handled incorrectly in chronocontact.php (as of version V2.5 J1.5 RC3.1). It is processed within the plugins/autogenerated/onsubmit loop, therefore it gets executed at the first iteration, nullifying the execution of the remaining two blocks.
The correct code is attached.
If you want to modify it yourself, change lines 566-583 from this:
to this:
pecus
The correct code is attached.
If you want to modify it yourself, change lines 566-583 from this:
/**
* Run the SQL query if there is one
*/
if($paramsvalues->autogenerated_order == $ixx){
if ( !empty($rows[0]->autogenerated) ) {
eval( "?>".$rows[0]->autogenerated );
}
}
/**
* Redirect the page if requested
*/
if ( !empty($rows[0]->redirecturl) ) {
$mainframe->redirect($rows[0]->redirecturl);
}
}
}
}
to this:
/**
* Run the SQL query if there is one
*/
if($paramsvalues->autogenerated_order == $ixx){
if ( !empty($rows[0]->autogenerated) ) {
eval( "?>".$rows[0]->autogenerated );
}
}
}
/**
* Redirect the page if requested
*/
if ( !empty($rows[0]->redirecturl) ) {
$mainframe->redirect($rows[0]->redirecturl);
}
}
}
pecus