Xoops 2.0.15
modules/system/admin/modulesadmin/main.php
replace line 355 with
$sql = "SELECT bid, name, options FROM
".$xoopsDB->prefix('newblocks')." WHERE
mid=".$module->getVar('mid')." AND func_num=".$i." AND
show_func='".addslashes($blocks[$i]['show_func'])."'
AND func_file='".addslashes($blocks[$i]['file'])."'";
add after line 358
if ( isset( $fblock['options'] ) ) {
$options = $fblock['options'];
}
Logged In: YES
user_id=1001493
Is it the same bug fixed in Revision 754?
Plz confirm
http://xoops.svn.sourceforge.net/viewvc/xoops?view=rev&revision=754
Logged In: YES
user_id=1528770
yes, the sql update don't contain the variable $option
$sql = "UPDATE ".$xoopsDB->prefix("newblocks")." SET
name='".addslashes($blocks[$i]['name'])."',
edit_func='".addslashes($editfunc)."', content='',
template='".$template."', last_modified=".time()." WHERE
bid=".$fblock['bid'];