|
From: FlorinCB <ory...@us...> - 2008-11-05 23:03:24
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27454 Modified Files: mx_functions_core.php Log Message: fixed index Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.110 retrieving revision 1.111 diff -C2 -d -r1.110 -r1.111 *** mx_functions_core.php 5 Nov 2008 08:20:30 -0000 1.110 --- mx_functions_core.php 5 Nov 2008 23:03:13 -0000 1.111 *************** *** 556,560 **** $temp_row['virtual'] = true; } ! // // Compose the pages config array --- 556,563 ---- $temp_row['virtual'] = true; } ! else ! { ! $temp_row['virtual'] = false; ! } // // Compose the pages config array *************** *** 3101,3105 **** $this->editcp_show = ( $userdata['user_level'] == ADMIN && isset($_COOKIE['editCP_switch']) ) ? $_COOKIE['editCP_switch'] == 1 : true; ! $this->is_virtual = $this->page_config[$this->page_id]['virtual']; } --- 3104,3108 ---- $this->editcp_show = ( $userdata['user_level'] == ADMIN && isset($_COOKIE['editCP_switch']) ) ? $_COOKIE['editCP_switch'] == 1 : true; ! $this->is_virtual = isset($this->page_config[$this->page_id]['virtual']) ? $this->page_config[$this->page_id]['virtual'] : false; } |