1
0
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:
Cameron
2021-01-29 20:11:49 -08:00
parent 0610dad19a
commit eee039b616
5 changed files with 18 additions and 8 deletions

View File

@@ -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) {