mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Replaced global $menu_pref usage. Updated tests.
This commit is contained in:
@@ -41,8 +41,7 @@ if (!defined('e107_INIT'))
|
||||
|
||||
$cobj = e107::getComment();
|
||||
|
||||
global $menu_pref;
|
||||
|
||||
$menu_pref = e107::getConfig('menu')->getPref();
|
||||
|
||||
$data = $cobj->getCommentData(intval($menu_pref['comment_display']));
|
||||
|
||||
|
Reference in New Issue
Block a user