|
From: Jon O. <jon...@us...> - 2008-03-13 19:12:58
|
Update of /cvsroot/mxbb/mx_bugsbt In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31370 Modified Files: bugsbt.php Log Message: enable_module bugfix Index: bugsbt.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt.php 9 Sep 2007 19:35:10 -0000 1.3 --- bugsbt.php 13 Mar 2008 19:12:53 -0000 1.4 *************** *** 43,49 **** // =================================================== ! // if the database disabled give them a nice message // =================================================== ! if ( intval( $bugsbt_config['module_enable'] ) ) { mx_message_die( GENERAL_MESSAGE, $lang['bugsbt_disable'] ); --- 43,49 ---- // =================================================== ! // if the module is disabled give them a nice message // =================================================== ! if (!($bugsbt_config['enable_module'] || $mx_user->is_admin)) { mx_message_die( GENERAL_MESSAGE, $lang['bugsbt_disable'] ); |