1
0
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:
Cameron
2021-01-08 13:50:32 -08:00
parent 487c10fc1d
commit d86d8d999f
5 changed files with 22 additions and 10 deletions

View File

@@ -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']));