|
From: Jon O. <jon...@us...> - 2005-10-12 15:41:48
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16899/modules/mx_phpbb/includes Modified Files: forum_hack.php Log Message: several minor bugfixes Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** forum_hack.php 1 Oct 2005 14:15:50 -0000 1.3 --- forum_hack.php 12 Oct 2005 15:41:36 -0000 1.4 *************** *** 208,212 **** while ( $phpbb_rows = $db->sql_fetchrow( $phpbb_result ) ) { - $page_id = $phpbb_rows['page_id']; $phpbb_type_select_data = ( !empty( $phpbb_rows['parameter_value'] ) ) ? unserialize($phpbb_rows['parameter_value']) : array(); --- 208,211 ---- *************** *** 217,221 **** if ($value == 1) { ! $this->phpbb_block_map[$forum_id] = $page_id; } } --- 216,220 ---- if ($value == 1) { ! $this->phpbb_block_map[$forum_id] = $phpbb_rows['page_id']; } } *************** *** 587,591 **** ); ! switch ( $this->script_name ) { case 'index': --- 586,590 ---- ); ! switch ( $this->phpbb_script ) { case 'index': *************** *** 1185,1189 **** { global $page_id; ! if (empty($this->phpbb_block_map)) { --- 1184,1188 ---- { global $page_id; ! if (empty($this->phpbb_block_map)) { |