mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Fixes #1697 - PHP7 compatibility fix for chatbox moderate page.
This commit is contained in:
@@ -279,7 +279,11 @@ if(!$text = $e107cache->retrieve("nq_chatbox"))
|
||||
{
|
||||
$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']));
|
||||
}
|
||||
|
||||
$qry = "
|
||||
SELECT c.*, u.user_name, u.user_image FROM #chatbox AS c
|
||||
|
Reference in New Issue
Block a user