mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 16:50:07 +02:00
Fixes #1075, Fixes #441 - Forum permissions cache was stored incorrectly, causing incorrect permissions for some users.
This commit is contained in:
@@ -7,7 +7,8 @@ function print_item($thread_id)
|
||||
$gen = new convert;
|
||||
include_once(e_PLUGIN.'forum/forum_class.php');
|
||||
$forum = new e107forum;
|
||||
$thread_info = $forum->thread_get($thread_id,0,999);
|
||||
|
||||
$thread_info = $forum->threadGet($thread_id,0,999);
|
||||
$thread_name = $tp->toHTML($thread_info[0]['thread_name'], TRUE);
|
||||
$text = "<b>".$thread_name."</b><br />
|
||||
".$thread_info[0]['user_name'].", ".$gen->convert_date($thread_info[0]['thread_datestamp'], "forum")."<br /><br />
|
||||
@@ -35,7 +36,7 @@ function email_item($thread_id)
|
||||
$gen = new convert;
|
||||
include_once(e_PLUGIN.'forum/forum_class.php');
|
||||
$forum = new e107forum;
|
||||
$thread_info = $forum->thread_get($thread_id,0,999);
|
||||
$thread_info = $forum->threadGet($thread_id,0,999);
|
||||
|
||||
$thread_name = $tp->toHTML($thread_info[0]['thread_name'], TRUE);
|
||||
$text = "<b>".$thread_name."</b><br />
|
||||
|
Reference in New Issue
Block a user