nel file akocomment.php si deve rimpiazzare questa riga:
# Don't allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
con questa:
# Don't allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
//BBTEMPFIX:
$acitemid = (int) mosGetParam( $_POST, "acitemid" );
$contentid = (int) mosGetParam( $_POST, "contentid" );
$title = mosGetParam( $_POST, "title" );
$comment = mosGetParam( $_POST, "comment" );
$acname = mosGetParam( $_POST, "acname" );
# Added one extra line to make the security images solution by DPaulus to work - Reind Dooyeweerd
$akocode = mosGetParam( $_POST, "akocode" );
//end of BBTEMPFIX
e poi nel file admin.akocomment.php inserire questa riga giusto prima della linea 14:
//BBTEMPFIX
$task = mosGetParam( $_REQUEST, 'task', null );
$cid = mosGetParam( $_REQUEST, 'cid', array( 0 ) );
$uid = mosGetParam( $_REQUEST, 'uid', array( 0 ) );
if (!is_array( $cid )) {
$ocid=$cid;
$cid = array ();
$cid[]=$ocid;
mosArrayToInts($cid);
}
//END OF BBTEMPFIX
e buon lavoro...