|
From: Jon O. <jon...@us...> - 2007-05-30 21:32:27
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4991/kb/includes Modified Files: functions_auth.php kb_pages.php Log Message: minor fixes Index: functions_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_auth.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** functions_auth.php 13 Aug 2006 18:51:37 -0000 1.5 --- functions_auth.php 30 May 2007 21:32:24 -0000 1.6 *************** *** 347,351 **** global $kb_type_select_data, $kb_config; ! if ( !MXBB_MODULE || MXBB_27x || !isset($kb_type_select_data) ) { return true; --- 347,351 ---- global $kb_type_select_data, $kb_config; ! if ( !MXBB_MODULE || MXBB_27x || !isset($kb_type_select_data) || empty($kb_type_select_data) ) { return true; Index: kb_pages.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/kb_pages.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kb_pages.php 28 Jun 2006 21:18:14 -0000 1.5 --- kb_pages.php 30 May 2007 21:32:24 -0000 1.6 *************** *** 156,159 **** --- 156,161 ---- } + $row = $db->sql_fetchrow( $result ); + $this->cat_id = $row['article_category_id']; } *************** *** 167,171 **** if ( !$this->page_id ) { ! $this->page_id = get_page_id( 'kb.php', true ); } } --- 169,173 ---- if ( !$this->page_id ) { ! $this->page_id = get_page_id( $this->target_file, true ); } } |