Vergleich printthread.php - 1.8.2 - 1.8.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 23Zeile 23

$plugins->run_hooks("printthread_start");



$plugins->run_hooks("printthread_start");


$thread = get_thread($mybb->get_input('tid', 1));

$thread = get_thread($mybb->get_input('tid', MyBB::INPUT_INT));


if(!$thread)
{
error($lang->error_invalidthread);
}


if(!$thread)
{
error($lang->error_invalidthread);
}

 

$plugins->run_hooks("printthread_start");


$thread['threadprefix'] = $thread['displaystyle'] = '';
if($thread['prefix'])


$thread['threadprefix'] = $thread['displaystyle'] = '';
if($thread['prefix'])

Zeile 92Zeile 94
// Check if this forum is password protected and we have a valid password
check_forum_password($forum['fid']);


// Check if this forum is password protected and we have a valid password
check_forum_password($forum['fid']);


$page = $mybb->get_input('page', 1);

$page = $mybb->get_input('page', MyBB::INPUT_INT);


// Paginate this thread
if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)


// Paginate this thread
if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)