mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
PHP8/Bootstrap5 Fixes
This commit is contained in:
@@ -35,8 +35,10 @@ if($sql->select('menus', "*", "menu_name='chatbox_menu'"))
|
||||
if ( ! isset($pref['cb_mod'])) {
|
||||
$pref['cb_mod'] = e_UC_ADMIN;
|
||||
}
|
||||
|
||||
define('CB_MOD', check_class($pref['cb_mod']));
|
||||
if(!defined('CB_MOD'))
|
||||
{
|
||||
define('CB_MOD', check_class($pref['cb_mod']));
|
||||
}
|
||||
|
||||
if ( ! empty($_POST['moderate']) && CB_MOD) {
|
||||
|
||||
|
Reference in New Issue
Block a user